Use '-' in all CLI option names
Update the cinder cli client by changing all options to use '-' (dash) in long names rather than '_' (underscore). The previous underscore option names will be maintained for backward compatibility for a release or two but not show up in help output or documentation, or be clearly marked 'DEPRECATED' if they do appear.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Dean Troyer
- Direction:
- Needs approval
- Assignee:
- Dean Troyer
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Implemented
- Milestone target:
- None
- Started by
- Dean Troyer
- Completed by
- Dean Troyer
Related branches
Related bugs
Sprints
Whiteboard
An example of the changed implementation looks like:
parser.
parser.
This allows either option name to be used but only the 'dash' version appears in help.
The environment variable name is unaffected.
The internal variable name is the same in either case.
If both options appear on the command line the value of the second one will be used.
Gerrit topic: https:/
Addressed by: https:/
Change '_' to '-' in options