From 9c95b378323fdc37d403c3757064349c9aaa509b Mon Sep 17 00:00:00 2001 From: jiaxi Date: Sun, 19 Jul 2015 02:39:06 -0400 Subject: --property should be required in `os unset` commands The three commands below openstack volume unset openstack snapshot unset openstack volume type unset Should have --property as a required argument, not optional. The reason is the command will not work without --property. Closes-Bug: #1475872 Change-Id: Ib9e29392472db38982cc2817af2dd5055f5a01ca --- openstackclient/volume/v1/volume.py | 1 + 1 file changed, 1 insertion(+) (limited to 'openstackclient/volume/v1/volume.py') diff --git a/openstackclient/volume/v1/volume.py b/openstackclient/volume/v1/volume.py index ad9671e3..884611ec 100644 --- a/openstackclient/volume/v1/volume.py +++ b/openstackclient/volume/v1/volume.py @@ -437,6 +437,7 @@ class UnsetVolume(command.Command): default=[], help='Property to remove from volume ' '(repeat option to remove multiple properties)', + required=True, ) return parser -- cgit v1.2.1