Merge "--property should be required in os unset
commands"
This commit is contained in:
@@ -263,6 +263,7 @@ class UnsetSnapshot(command.Command):
|
|||||||
default=[],
|
default=[],
|
||||||
help='Property to remove from snapshot '
|
help='Property to remove from snapshot '
|
||||||
'(repeat to remove multiple values)',
|
'(repeat to remove multiple values)',
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
@@ -166,6 +166,7 @@ class UnsetVolumeType(command.Command):
|
|||||||
default=[],
|
default=[],
|
||||||
help='Property to remove from volume type '
|
help='Property to remove from volume type '
|
||||||
'(repeat option to remove multiple properties)',
|
'(repeat option to remove multiple properties)',
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
@@ -437,6 +437,7 @@ class UnsetVolume(command.Command):
|
|||||||
default=[],
|
default=[],
|
||||||
help='Property to remove from volume '
|
help='Property to remove from volume '
|
||||||
'(repeat option to remove multiple properties)',
|
'(repeat option to remove multiple properties)',
|
||||||
|
required=True,
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user