diff --git a/karborclient/v1/shell.py b/karborclient/v1/shell.py index f5ad330..4395f69 100644 --- a/karborclient/v1/shell.py +++ b/karborclient/v1/shell.py @@ -1106,7 +1106,9 @@ def do_scheduledoperation_list(cs, args): help='Trigger name.') @utils.arg('operation_type', metavar='', - help='Operation Type of scheduled operation.') + choices=['protect', 'retention_protect'], + help='Operation Type of scheduled operation. Valid values are ' + '"protect" or "retention_protect."') @utils.arg('trigger_id', metavar='', help='Trigger id of scheduled operation.')