Skip to content

Commit

Permalink
Use -h, --help to show help messages.
Browse files Browse the repository at this point in the history
Fixes bug 1023260
"quantumv2" command used '-H' and '--Help' to show help messages,
but it is inconsistent to the convention of option names used in
other OpenStack client lib commands. This commit fixes it.

Change-Id: I85c1e79c2cd08bcc0112ed2f10ca8210e9384687
  • Loading branch information
amotoki committed Jul 12, 2012
1 parent 1586c92 commit 4631213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantumclient/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def build_option_parser(self, description, version):
const=0,
help='suppress output except warnings and errors', )
parser.add_argument(
'-H', '--Help',
'-h', '--help',
action=HelpAction,
nargs=0,
default=self, # tricky
Expand Down

0 comments on commit 4631213

Please sign in to comment.