Merge "Fix help msg of identity endpoint"

This commit is contained in:
Jenkins 2016-06-16 12:43:32 +00:00 committed by Gerrit Code Review
commit b5e524ac84
3 changed files with 11 additions and 11 deletions

View File

@ -40,7 +40,7 @@ Create new endpoint
.. _endpoint_create-endpoint: .. _endpoint_create-endpoint:
.. describe:: <service> .. describe:: <service>
New endpoint service (name or ID) Service to be associated with new endpoint (name or ID)
*Identity version 3 only* *Identity version 3 only*
@ -68,7 +68,7 @@ Create new endpoint
.. describe:: <service> .. describe:: <service>
New endpoint service (name or ID) Service to be associated with new endpoint(name or ID)
.. describe:: <interface> .. describe:: <interface>
@ -92,7 +92,7 @@ Delete endpoint
.. _endpoint_delete-endpoint: .. _endpoint_delete-endpoint:
.. describe:: <endpoint-id> .. describe:: <endpoint-id>
Endpoint ID to delete Endpoint to delete (ID only)
endpoint list endpoint list
------------- -------------
@ -110,7 +110,7 @@ List endpoints
.. option:: --service <service> .. option:: --service <service>
Filter by service Filter by service (name or ID)
*Identity version 3 only* *Identity version 3 only*
@ -177,7 +177,7 @@ Set endpoint properties
.. _endpoint_set-endpoint: .. _endpoint_set-endpoint:
.. describe:: <endpoint-id> .. describe:: <endpoint-id>
Endpoint ID to modify Endpoint to modify (ID only)
endpoint show endpoint show
------------- -------------

View File

@ -31,7 +31,7 @@ class CreateEndpoint(command.ShowOne):
parser.add_argument( parser.add_argument(
'service', 'service',
metavar='<service>', metavar='<service>',
help=_('New endpoint service (name or ID)'), help=_('Service to be associated with new endpoint (name or ID)'),
) )
parser.add_argument( parser.add_argument(
'--publicurl', '--publicurl',
@ -81,7 +81,7 @@ class DeleteEndpoint(command.Command):
parser.add_argument( parser.add_argument(
'endpoint', 'endpoint',
metavar='<endpoint-id>', metavar='<endpoint-id>',
help=_('Endpoint ID to delete'), help=_('Endpoint to delete (ID only)'),
) )
return parser return parser

View File

@ -40,7 +40,7 @@ class CreateEndpoint(command.ShowOne):
parser.add_argument( parser.add_argument(
'service', 'service',
metavar='<service>', metavar='<service>',
help=_('New endpoint service (name or ID)'), help=_('Service to be associated with new endpoint (name or ID)'),
) )
parser.add_argument( parser.add_argument(
'interface', 'interface',
@ -102,7 +102,7 @@ class DeleteEndpoint(command.Command):
parser.add_argument( parser.add_argument(
'endpoint', 'endpoint',
metavar='<endpoint-id>', metavar='<endpoint-id>',
help=_('Endpoint ID to delete'), help=_('Endpoint to delete (ID only)'),
) )
return parser return parser
@ -121,7 +121,7 @@ class ListEndpoint(command.Lister):
parser.add_argument( parser.add_argument(
'--service', '--service',
metavar='<service>', metavar='<service>',
help=_('Filter by service'), help=_('Filter by service (name or ID)'),
) )
parser.add_argument( parser.add_argument(
'--interface', '--interface',
@ -169,7 +169,7 @@ class SetEndpoint(command.Command):
parser.add_argument( parser.add_argument(
'endpoint', 'endpoint',
metavar='<endpoint-id>', metavar='<endpoint-id>',
help=_('Endpoint ID to modify'), help=_('Endpoint to modify (ID only)'),
) )
parser.add_argument( parser.add_argument(
'--region', '--region',