From b6469b2ee936cafe7ad17f4ff3b0343eb7da4485 Mon Sep 17 00:00:00 2001 From: SushilKM Date: Sat, 24 May 2014 07:33:42 +0000 Subject: Fix trove help for show and flavor-show Added 'name' to the help for the CLI commands show and flavor-show Change-Id: I845e648cbb371bf134d98de44e7f966172dc634a Closes-Bug: #1322814 --- troveclient/v1/shell.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/troveclient/v1/shell.py b/troveclient/v1/shell.py index 6c1b69d..df232e3 100644 --- a/troveclient/v1/shell.py +++ b/troveclient/v1/shell.py @@ -92,7 +92,7 @@ def do_flavor_list(cs, args): labels={'ram': 'RAM'}) -@utils.arg('flavor', metavar='', help='ID of the flavor.') +@utils.arg('flavor', metavar='', help='ID or name of the flavor.') @utils.service_type('database') def do_flavor_show(cs, args): """Shows details of a flavor.""" @@ -121,7 +121,8 @@ def do_list(cs, args): 'flavor_id', 'size']) -@utils.arg('instance', metavar='', help='ID of the instance.') +@utils.arg('instance', metavar='', + help='ID or name of the instance.') @utils.service_type('database') def do_show(cs, args): """Shows details of an instance.""" -- cgit v1.2.1