Fixes openstack zone blacklist set command
This patch fixes openstack zone blacklist set command's pattern option description. Change-Id: Ic832d4fb120fe98fc436b7d2f47113d45da967ea Closes-Bug: #1500604
This commit is contained in:
parent
f2192badc1
commit
729852d04a
@ -90,8 +90,8 @@ class SetBlacklistCommand(show.ShowOne):
|
||||
parser = super(SetBlacklistCommand, self).get_parser(prog_name)
|
||||
|
||||
parser.add_argument('id', help="Blacklist ID")
|
||||
parser.add_argument('--pattern', help="Blacklist pattern",
|
||||
required=True)
|
||||
parser.add_argument('--pattern', help="Blacklist pattern")
|
||||
|
||||
description_group = parser.add_mutually_exclusive_group()
|
||||
description_group.add_argument('--description', help="Description")
|
||||
description_group.add_argument('--no-description', action='store_true')
|
||||
|
Loading…
x
Reference in New Issue
Block a user