fixed inconsistencies in parameter descriptions

Change-Id: I208c7fe97c8ec543b5e1cd230527d3eceb52570f
This commit is contained in:
Christian Berendt 2012-11-13 08:41:42 +01:00
parent 656b80bef3
commit 1bbee8189c

@ -1074,14 +1074,14 @@ Example:
dest='auth_version',
default=environ.get('ST_AUTH_VERSION', '1.0'),
type=str,
help='Specify a version for authentication'
'(default: 1.0)')
help='Specify a version for authentication. '
'Defaults to 1.0.')
parser.add_option('-U', '--user', dest='user',
default=environ.get('ST_USER'),
help='User name for obtaining an auth token')
help='User name for obtaining an auth token.')
parser.add_option('-K', '--key', dest='key',
default=environ.get('ST_KEY'),
help='Key for obtaining an auth token')
help='Key for obtaining an auth token.')
parser.add_option('--os-username',
metavar='<auth-user-name>',
default=environ.get('OS_USERNAME'),
@ -1097,8 +1097,7 @@ Example:
parser.add_option('--os-tenant-id',
metavar='<auth-tenant-id>',
default=environ.get('OS_TENANT_ID'),
help='OpenStack tenant ID.'
'Defaults to env[OS_TENANT_ID]')
help='OpenStack tenant ID. Defaults to env[OS_TENANT_ID]')
parser.add_option('--os_tenant_id',
help=SUPPRESS_HELP)
parser.add_option('--os-tenant-name',
@ -1144,7 +1143,7 @@ Example:
parser.add_option('--os-endpoint-type',
metavar='<endpoint-type>',
default=environ.get('OS_ENDPOINT_TYPE'),
help='Openstack Endpoint type. (publicURL, e.g.)' \
help='Openstack Endpoint type. ' \
'Defaults to env[OS_ENDPOINT_TYPE]')
parser.disable_interspersed_args()
(options, args) = parse_args(parser, argv[1:], enforce_requires=False)