summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSushilKM <skm.net@gmail.com>2014-05-24 07:33:42 +0000
committerSushilKM <skm.net@gmail.com>2014-05-24 07:36:04 +0000
commitb6469b2ee936cafe7ad17f4ff3b0343eb7da4485 (patch)
treec44adf171b26504b824c9ec432066ec2817a2e10
parentd02764e597b331c0c692488477a9ce29045eb32a (diff)
downloadpython-troveclient-b6469b2ee936cafe7ad17f4ff3b0343eb7da4485.tar.gz
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
-rw-r--r--troveclient/v1/shell.py5
1 files 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='<flavor>', help='ID of the flavor.')
+@utils.arg('flavor', metavar='<flavor>', 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='<instance>', help='ID of the instance.')
+@utils.arg('instance', metavar='<instance>',
+ help='ID or name of the instance.')
@utils.service_type('database')
def do_show(cs, args):
"""Shows details of an instance."""