Use '-' in all CLI option names
Update the keystone cli client by changing all options to use '-' (dash) in long names rather than '_' (underscore). The previous underscore option name will be maintained for backward compatibility for a release or two but not show up in help output or documentation, or me clearly marked 'DEPRECATED' if they do appear.
Blueprint information
- Status:
- Complete
- Approver:
- Joseph Heck
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Dean Troyer
- Definition:
- Approved
- Series goal:
- Accepted for folsom
- Implementation:
-
Implemented
- Milestone target:
-
2012.2
- Started by
- Joseph Heck
- Completed by
- Joseph Heck
Related branches
Related bugs
Sprints
Whiteboard
An example of the changed implementation looks like:
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.