glance-manage uses common options

This commit is contained in:
Rick Harris 2011-02-02 12:47:08 -06:00
parent 0b3e8d8778
commit a436b433ca

View File

@ -48,14 +48,9 @@ def create_options(parser):
:param parser: The option parser
"""
parser.add_option('-v', '--verbose', default=False, dest="verbose",
action="store_true",
help="Print more verbose output")
parser.add_option('-d', '--debug', default=False, dest="debug",
action="store_true",
help="Print debugging output")
config.add_log_options('glance-manage', parser)
glance.registry.db.add_options(parser)
config.add_common_options(parser)
config.add_log_options('glance-manage', parser)
def do_db_version(options, args):