From 4bea5d37d9feb4a5925d70ea2a6298793bc924a4 Mon Sep 17 00:00:00 2001 From: Huanxuan Ao Date: Mon, 6 Jun 2016 18:40:38 +0800 Subject: Fix errors for "volume type unset" command Normally, we can unset multi properties but the "volume type unset" command could not, because the action "append" was missed. So I add it and also fix the unit test and doc in this patch. Change-Id: I20470f2b7bb2a8d7f292cea498826669c3418c77 --- openstackclient/volume/v2/volume_type.py | 1 + 1 file changed, 1 insertion(+) (limited to 'openstackclient/volume') diff --git a/openstackclient/volume/v2/volume_type.py b/openstackclient/volume/v2/volume_type.py index 200d9bd5..d881ce1f 100644 --- a/openstackclient/volume/v2/volume_type.py +++ b/openstackclient/volume/v2/volume_type.py @@ -263,6 +263,7 @@ class UnsetVolumeType(command.Command): parser.add_argument( '--property', metavar='', + action='append', help=_('Remove a property from this volume type ' '(repeat option to remove multiple properties)'), ) -- cgit v1.2.1