From: shangxdy Date: Tue, 21 Aug 2018 13:55:51 +0000 (+0800) Subject: modify nrpv for parameter X-Git-Tag: 1.1.0~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F61179%2F2;p=parser.git modify nrpv for parameter JIRA: PARSER-181 Change-Id: I3d439f3f80e5f936fdc24dea74b19dd3cace8492 Signed-off-by: shangxdy --- diff --git a/tosca2heat/tosca-parser/toscaparser/shell.py b/tosca2heat/tosca-parser/toscaparser/shell.py index 83a015c..c024d1e 100644 --- a/tosca2heat/tosca-parser/toscaparser/shell.py +++ b/tosca2heat/tosca-parser/toscaparser/shell.py @@ -53,7 +53,7 @@ class ParserShell(object): required=True, help=_('YAML template or CSAR file to parse.')) - parser.add_argument('-nrpv', dest='no_required_paras_check', + parser.add_argument('--nrpv', dest='no_required_paras_check', action='store_true', default=False, help=_('Ignore input parameter validation ' 'when parse template.'))