merge.py: Set default value for --json-file to empty list
So it was truly optional (didn't throw error in len() check).
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
diff --git a/coverage-tool/coverage-reporting/merge.py b/coverage-tool/coverage-reporting/merge.py
index 24e82e2..8dd6664 100755
--- a/coverage-tool/coverage-reporting/merge.py
+++ b/coverage-tool/coverage-reporting/merge.py
@@ -51,7 +51,7 @@
requiredNamed.add_argument("-o", "--output",
help="Name of the output info (merged) file.",
required=False)
-parser.add_argument("-j", "--json-file", action='append',
+parser.add_argument("-j", "--json-file", action='append', default=[],
help="Input json file to be merged.")
parser.add_argument("-m", "--output-json",
help="Name of the output json (merged) file.")