diff --git a/karborclient/v1/shell.py b/karborclient/v1/shell.py index 50649dd..e6d46fa 100644 --- a/karborclient/v1/shell.py +++ b/karborclient/v1/shell.py @@ -188,6 +188,8 @@ def do_plan_delete(cs, args): help="Id of plan to update.") @utils.arg("--name", metavar="", help="A name to which the plan will be renamed.") +@utils.arg("--description", metavar="", + help="Description to which the plan will be updated.") @utils.arg("--resources", metavar="", help="Resources to which the plan will be updated.") @utils.arg("--status", metavar="", @@ -197,6 +199,8 @@ def do_plan_update(cs, args): data = {} if args.name is not None: data['name'] = args.name + if args.description is not None: + data['description'] = args.description if args.resources is not None: plan_resources = arg_utils.extract_resources(args) data['resources'] = plan_resources