diff options
| author | sunyajing <yajing.sun@easystack.cn> | 2016-05-26 16:52:54 +0800 |
|---|---|---|
| committer | sunyajing <yajing.sun@easystack.cn> | 2016-05-26 19:40:26 +0800 |
| commit | 9e9e4e6f59f7d6a4e0fd8d96c4586d58a8f0059e (patch) | |
| tree | 2b2b12f41961c59660e09852bb6d0bb51eef8ae7 /openstackclient/identity | |
| parent | 795656184e2d864c30b8e42d13a12d5021680e8b (diff) | |
| download | python-openstackclient-9e9e4e6f59f7d6a4e0fd8d96c4586d58a8f0059e.tar.gz | |
fix endpoint show help
endpoint show command can also work on service name or type or ID option
Change-Id: I43c8df4bc093d4130cf33fd2520736ce9077dc82
Diffstat (limited to 'openstackclient/identity')
| -rw-r--r-- | openstackclient/identity/v2_0/endpoint.py | 5 |
1 files changed, 3 insertions, 2 deletions
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='<endpoint-id>', - help=_('Endpoint ID to display'), + metavar='<endpoint>', + help=_('Endpoint to display (endpoint ID, service ID,' + ' service name, service type)'), ) return parser |
