From 90535b3a2df13fcd9c0e71213bef7e4d090bc451 Mon Sep 17 00:00:00 2001 From: vodorok Date: Mon, 14 Oct 2024 16:11:48 +0200 Subject: [PATCH] False value if parameter is not present --- analyzer/codechecker_analyzer/cmd/analyze.py | 2 +- analyzer/codechecker_analyzer/cmd/check.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/analyzer/codechecker_analyzer/cmd/analyze.py b/analyzer/codechecker_analyzer/cmd/analyze.py index 04ff26403c..13c6cf6ff4 100644 --- a/analyzer/codechecker_analyzer/cmd/analyze.py +++ b/analyzer/codechecker_analyzer/cmd/analyze.py @@ -213,8 +213,8 @@ def add_arguments_to_parser(parser): help="Store the analysis output in the given folder.") parser.add_argument('--plist-file-name', - type=str, dest="plist_file_name", + action='store_true', required=False, help="If given, all the `.plist` files containing " "the analyzer result files will be merged " diff --git a/analyzer/codechecker_analyzer/cmd/check.py b/analyzer/codechecker_analyzer/cmd/check.py index cd43133598..044913e9fa 100644 --- a/analyzer/codechecker_analyzer/cmd/check.py +++ b/analyzer/codechecker_analyzer/cmd/check.py @@ -113,9 +113,9 @@ def add_arguments_to_parser(parser): "the analysis.") parser.add_argument('--plist-file-name', - type=str, dest="plist_file_name", required=False, + action='store_true', help="If given, all the `.plist` files containing " "the analyzer result files will be merged " "into a single `.plist` file in the report "