diff options
| author | jiaxi <jiaxi@unitedstack.com> | 2015-07-18 03:33:03 -0400 |
|---|---|---|
| committer | jiaxi <jiaxi@unitedstack.com> | 2015-07-18 08:29:54 -0400 |
| commit | 2fc800aace36211f576fd447375854218c29cfd1 (patch) | |
| tree | b8a41590b2be4a59487dfa09516b15c4c5f42d9d /openstackclient | |
| parent | 8175ce5985ae1c9846a8b67ac6abbb2e3ba360e1 (diff) | |
| download | python-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.py | 1 |
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", |
