From cb66ecc82b7491823c837e2cefbf50984fcae594 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 11 Jul 2018 15:11:11 +0200 Subject: CSIT-1094: Change menu style Change-Id: Idff59bc73d3444700937fc473681760a947f0f41 Signed-off-by: Tibor Frank --- resources/tools/presentation/pal.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resources/tools/presentation/pal.py') diff --git a/resources/tools/presentation/pal.py b/resources/tools/presentation/pal.py index 013c921124..73d3b757aa 100644 --- a/resources/tools/presentation/pal.py +++ b/resources/tools/presentation/pal.py @@ -48,6 +48,10 @@ def parse_args(): default="master", type=str, help="Release string of the product.") + parser.add_argument("-v", "--version", + default="0.1", + type=str, + help="Version of the product.") parser.add_argument("-l", "--logging", choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"], @@ -103,7 +107,7 @@ def main(): generate_files(spec, data) if spec.output["output"] == "report": - generate_report(args.release, spec) + generate_report(args.release, spec, args.version) logging.info("Successfully finished.") elif spec.output["output"] == "CPTA": sys.stdout.write(generate_cpta(spec, data)) -- cgit 1.2.3-korg