Clarified help message

TODO: need to figure out how to best support both v2.0 and v3.
This commit is contained in:
tengqm
2015-01-19 21:31:51 +08:00
parent 91cde18872
commit c8c537d0c9

View File

@@ -31,16 +31,12 @@ def add_global_identity_args(parser):
parser.add_argument(
'--os-project-id', dest='project_id', metavar='PROJECT_ID',
default=utils.env('OS_PROJECT_ID'),
help=_('Another way to specify tenant ID. '
'This option is mutual exclusive with "--os-tenant-id". '
'Defaults to env[OS_PROJECT_ID].'))
help=_('Defaults to env[OS_PROJECT_ID].'))
parser.add_argument(
'--os-project-name', dest='project_name', metavar='PROJECT_NAME',
default=utils.env('OS_PROJECT_NAME'),
help=_('Another way to specify tenant name. '
'This option is mutual exclusive with "--os-tenant-name". '
'Defaults to env[OS_PROJECT_NAME].'))
help=_('Defaults to env[OS_PROJECT_NAME].'))
parser.add_argument(
'--os-domain-id', dest='domain_id', metavar='DOMAIN_ID',