Fix help messages for --debug.

Fixes LP Bug #1012746.

Change-Id: I54af0d20b3f5b56a1b350de3ac1324f1bbcd57ed
This commit is contained in:
Dan Prince 2012-06-13 12:15:08 -04:00
parent e9dd69cca6
commit 1672eeb880
2 changed files with 2 additions and 2 deletions

View File

@ -832,7 +832,7 @@ def create_options(parser):
parser.add_option('-v', '--verbose', default=False, action="store_true", parser.add_option('-v', '--verbose', default=False, action="store_true",
help="Print more verbose output") help="Print more verbose output")
parser.add_option('-d', '--debug', default=False, action="store_true", parser.add_option('-d', '--debug', default=False, action="store_true",
help="Print more verbose output") help="Print debugging output")
parser.add_option('-H', '--host', metavar="ADDRESS", default="0.0.0.0", parser.add_option('-H', '--host', metavar="ADDRESS", default="0.0.0.0",
help="Address of Glance API host. " help="Address of Glance API host. "
"Default: %default") "Default: %default")

View File

@ -281,7 +281,7 @@ def create_options(parser):
parser.add_option('-v', '--verbose', default=False, action="store_true", parser.add_option('-v', '--verbose', default=False, action="store_true",
help="Print more verbose output") help="Print more verbose output")
parser.add_option('-d', '--debug', default=False, action="store_true", parser.add_option('-d', '--debug', default=False, action="store_true",
help="Print more verbose output") help="Print debugging output")
parser.add_option('-H', '--host', metavar="ADDRESS", default="0.0.0.0", parser.add_option('-H', '--host', metavar="ADDRESS", default="0.0.0.0",
help="Address of Glance API host. " help="Address of Glance API host. "
"Default: %default") "Default: %default")