Merge "Improve help messages for a few options"

This commit is contained in:
Zuul 2022-05-06 17:13:28 +00:00 committed by Gerrit Code Review
commit cc58eca84f
2 changed files with 12 additions and 5 deletions

View File

@ -56,7 +56,8 @@ class BaseV2Loader(BaseIdentityLoader):
options.extend([
opts.Opt('tenant-id', help='Tenant ID'),
opts.Opt('tenant-name', help='Tenant Name'),
opts.Opt('trust-id', help='Trust ID'),
opts.Opt('trust-id',
help='ID of the trust to use as a trustee use'),
])
return options
@ -83,7 +84,8 @@ class BaseV3Loader(BaseIdentityLoader):
help='Domain ID containing project'),
opts.Opt('project-domain-name',
help='Domain name containing project'),
opts.Opt('trust-id', help='Trust ID'),
opts.Opt('trust-id',
help='ID of the trust to use as a trustee use'),
])
return options
@ -148,7 +150,8 @@ class BaseGenericLoader(BaseIdentityLoader):
help='Domain ID containing project'),
opts.Opt('project-domain-name',
help='Domain name containing project'),
opts.Opt('trust-id', help='Trust ID'),
opts.Opt('trust-id',
help='ID of the trust to use as a trustee use'),
opts.Opt('default-domain-id',
help='Optional domain ID to use with v3 and v2 '
'parameters. It will be used for both the user '

View File

@ -103,13 +103,17 @@ class Session(base.BaseLoader):
'--os-cert',
metavar='<certificate>',
default=os.environ.get('OS_CERT'),
help='Defaults to env[OS_CERT].')
help='The location for the keystore (PEM formatted) '
'containing the public key of this client. '
'Defaults to env[OS_CERT].')
session_group.add_argument(
'--os-key',
metavar='<key>',
default=os.environ.get('OS_KEY'),
help='Defaults to env[OS_KEY].')
help='The location for the keystore (PEM formatted) '
'containing the private key of this client. '
'Defaults to env[OS_KEY].')
session_group.add_argument(
'--timeout',