summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorjiaxi <jiaxi@unitedstack.com>2015-07-18 03:33:03 -0400
committerjiaxi <jiaxi@unitedstack.com>2015-07-18 08:29:54 -0400
commit2fc800aace36211f576fd447375854218c29cfd1 (patch)
treeb8a41590b2be4a59487dfa09516b15c4c5f42d9d /openstackclient
parent8175ce5985ae1c9846a8b67ac6abbb2e3ba360e1 (diff)
downloadpython-openstackclient-2fc800aace36211f576fd447375854218c29cfd1.tar.gz
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
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/compute/v2/flavor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/compute/v2/flavor.py b/openstackclient/compute/v2/flavor.py
index eb18a433..3458cf79 100644
--- a/openstackclient/compute/v2/flavor.py
+++ b/openstackclient/compute/v2/flavor.py
@@ -295,6 +295,7 @@ class UnsetFlavor(show.ShowOne):
action='append',
help='Property to remove from flavor '
'(repeat option to unset multiple properties)',
+ required=True,
)
parser.add_argument(
"flavor",