Skip to content

Commit 1659f9e

Browse files
committed
Rename parameter to zip_loc
1 parent 57ad106 commit 1659f9e

File tree

1 file changed

+3
-3
lines changed
  • web/client/codechecker_client/cli

1 file changed

+3
-3
lines changed

web/client/codechecker_client/cli/store.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,12 @@ def add_arguments_to_parser(parser):
257257
"match will be removed. You may also use Unix "
258258
"shell-like wildcards (e.g. '/*/jsmith/').")
259259

260-
parser.add_argument('--temp_dir',
260+
parser.add_argument('--zip_loc',
261261
type=str,
262262
metavar='PATH',
263263
required=False,
264264
default=None,
265-
dest="temp_dir",
265+
dest="zip_loc",
266266
help="Specify the location to write the compressed "
267267
"file used for storage. Useful if the results "
268268
"directory is read only. "
@@ -928,7 +928,7 @@ def main(args):
928928

929929
# If the --temp_dir argument is specified set use that,
930930
# else use the analyze result folder
931-
temp_dir_path: str = args.temp_dir if args.temp_dir else args.input[0]
931+
temp_dir_path: str = args.zip_loc if args.zip_loc else args.input[0]
932932
try:
933933
temp_dir = tempfile.mkdtemp(suffix="-store", dir=temp_dir_path)
934934
LOG.debug(f"{temp_dir} directory created successfully!")

0 commit comments

Comments
 (0)