Skip to content

Commit

Permalink
Updated the help text for nova list command.
Browse files Browse the repository at this point in the history
Few options in the nova list command are admin specific. Updated the help text
to specify the admin only options explitcitly.

Fixes LP: #1055983

Change-Id: Icf8a76e79b9d5399298dacce31b1cc0873f63d71
  • Loading branch information
UnmeshG committed Nov 6, 2012
1 parent 0dea78c commit e9c16ca
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions novaclient/v1_1/shell.py
Expand Up @@ -617,12 +617,12 @@ def do_image_delete(cs, args):
dest='ip',
metavar='<ip-regexp>',
default=None,
help='Search with regular expression match by IP address')
help='Search with regular expression match by IP address (Admin only).')
@utils.arg('--ip6',
dest='ip6',
metavar='<ip6-regexp>',
default=None,
help='Search with regular expression match by IPv6 address')
help='Search with regular expression match by IPv6 address (Admin only).')
@utils.arg('--name',
dest='name',
metavar='<name-regexp>',
Expand All @@ -632,7 +632,7 @@ def do_image_delete(cs, args):
dest='instance_name',
metavar='<name-regexp>',
default=None,
help='Search with regular expression match by instance name')
help='Search with regular expression match by instance name (Admin only).')
@utils.arg('--instance_name',
help=argparse.SUPPRESS)
@utils.arg('--status',
Expand All @@ -655,7 +655,8 @@ def do_image_delete(cs, args):
dest='host',
metavar='<hostname>',
default=None,
help='Search instances by hostname to which they are assigned')
help='Search instances by hostname to which they are assigned '
'(Admin only).')
@utils.arg('--all-tenants',
dest='all_tenants',
metavar='<0|1>',
Expand Down

0 comments on commit e9c16ca

Please sign in to comment.