Fix for "nova help list" command
The output of "nova help list" shows several argument as "Admin Only", when they are not. This patch modifies help notes for --ip, --ip6 and --instance-name, which can be used by regular users. DocImpact Change-Id: Iac541ac8e698a27348b437ad53910bd09ea7f257 Closes-Bug: #1295126
This commit is contained in:
parent
02ee4fc79e
commit
0a1f9c168f
@ -1013,13 +1013,12 @@ def do_image_delete(cs, args):
|
||||
dest='ip',
|
||||
metavar='<ip-regexp>',
|
||||
default=None,
|
||||
help=_('Search with regular expression match by IP address (Admin only).'))
|
||||
help=_('Search with regular expression match by IP address.'))
|
||||
@utils.arg('--ip6',
|
||||
dest='ip6',
|
||||
metavar='<ip6-regexp>',
|
||||
default=None,
|
||||
help=_('Search with regular expression match by IPv6 address '
|
||||
'(Admin only).'))
|
||||
help=_('Search with regular expression match by IPv6 address.'))
|
||||
@utils.arg('--name',
|
||||
dest='name',
|
||||
metavar='<name-regexp>',
|
||||
@ -1029,8 +1028,7 @@ def do_image_delete(cs, args):
|
||||
dest='instance_name',
|
||||
metavar='<name-regexp>',
|
||||
default=None,
|
||||
help=_('Search with regular expression match by server name '
|
||||
'(Admin only).'))
|
||||
help=_('Search with regular expression match by server name.'))
|
||||
@utils.arg('--instance_name',
|
||||
help=argparse.SUPPRESS)
|
||||
@utils.arg('--status',
|
||||
|
@ -865,12 +865,12 @@ def do_image_delete(cs, args):
|
||||
dest='ip',
|
||||
metavar='<ip-regexp>',
|
||||
default=None,
|
||||
help='Search with regular expression match by IP address (Admin only).')
|
||||
help='Search with regular expression match by IP address.')
|
||||
@utils.arg('--ip6',
|
||||
dest='ip6',
|
||||
metavar='<ip6-regexp>',
|
||||
default=None,
|
||||
help='Search with regular expression match by IPv6 address (Admin only).')
|
||||
help='Search with regular expression match by IPv6 address.')
|
||||
@utils.arg('--name',
|
||||
dest='name',
|
||||
metavar='<name-regexp>',
|
||||
@ -880,7 +880,7 @@ def do_image_delete(cs, args):
|
||||
dest='instance_name',
|
||||
metavar='<name-regexp>',
|
||||
default=None,
|
||||
help='Search with regular expression match by server name (Admin only).')
|
||||
help='Search with regular expression match by server name.')
|
||||
@utils.arg('--instance_name',
|
||||
help=argparse.SUPPRESS)
|
||||
@utils.arg('--status',
|
||||
|
Loading…
x
Reference in New Issue
Block a user