Making --property as required when openstack flavor unset
When using openstack flavor unset, the --property is needed, so the --property should be a required parameter. Close-Bug: #1474237 Change-Id: Id6913e1b263eddeb5dd44c3edb957206b68f816c
This commit is contained in:
parent
8175ce5985
commit
2fc800aace
@ -295,6 +295,7 @@ class UnsetFlavor(show.ShowOne):
|
|||||||
action='append',
|
action='append',
|
||||||
help='Property to remove from flavor '
|
help='Property to remove from flavor '
|
||||||
'(repeat option to unset multiple properties)',
|
'(repeat option to unset multiple properties)',
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"flavor",
|
"flavor",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user