From 9e9e4e6f59f7d6a4e0fd8d96c4586d58a8f0059e Mon Sep 17 00:00:00 2001 From: sunyajing Date: Thu, 26 May 2016 16:52:54 +0800 Subject: fix endpoint show help endpoint show command can also work on service name or type or ID option Change-Id: I43c8df4bc093d4130cf33fd2520736ce9077dc82 --- openstackclient/identity/v2_0/endpoint.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openstackclient') diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py index e92f5412..eabf341d 100644 --- a/openstackclient/identity/v2_0/endpoint.py +++ b/openstackclient/identity/v2_0/endpoint.py @@ -129,8 +129,9 @@ class ShowEndpoint(command.ShowOne): parser = super(ShowEndpoint, self).get_parser(prog_name) parser.add_argument( 'endpoint_or_service', - metavar='', - help=_('Endpoint ID to display'), + metavar='', + help=_('Endpoint to display (endpoint ID, service ID,' + ' service name, service type)'), ) return parser -- cgit v1.2.1