Skip to content

Commit 2fc800a

Browse files
author
jiaxi
committed
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
1 parent 8175ce5 commit 2fc800a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎openstackclient/compute/v2/flavor.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ def get_parser(self, prog_name):
295295
action='append',
296296
help='Property to remove from flavor '
297297
'(repeat option to unset multiple properties)',
298+
required=True,
298299
)
299300
parser.add_argument(
300301
"flavor",

0 commit comments

Comments
 (0)