update help description about actionplan create
help=_("ActionPlan type.") => help=_("Audit type. It must be ONESHOT or CONTINUOUS. " "Default is ONESHOT.")) Change-Id: Ic79b5d1d0cb5ed459aaa290269219ff0e00065d5
This commit is contained in:
@@ -181,13 +181,15 @@ class CreateActionPlan(command.ShowOne):
|
|||||||
required=True,
|
required=True,
|
||||||
dest='audit_template_uuid',
|
dest='audit_template_uuid',
|
||||||
metavar='<audit_template>',
|
metavar='<audit_template>',
|
||||||
help=_('ActionPlan template used for this audit (name or uuid).'))
|
help=_('Audit template used for this audit (name or uuid).'))
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-t', '--audit_type',
|
'-t', '--audit_type',
|
||||||
dest='audit_type',
|
dest='audit_type',
|
||||||
metavar='<audit_type>',
|
metavar='<audit_type>',
|
||||||
default='ONESHOT',
|
default='ONESHOT',
|
||||||
help=_("ActionPlan type."))
|
choices=['ONESHOT', 'CONTINUOUS'],
|
||||||
|
help=_("Audit type. It must be ONESHOT or CONTINUOUS. "
|
||||||
|
"Default is ONESHOT."))
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user