Skip to content

Commit 1e05620

Browse files
committed
Rename parameter to zip_loc
1 parent 333c7da commit 1e05620

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
@@ -270,12 +270,12 @@ def add_arguments_to_parser(parser):
270270
"match will be removed. You may also use Unix "
271271
"shell-like wildcards (e.g. '/*/jsmith/').")
272272

273-
parser.add_argument('--temp_dir',
273+
parser.add_argument('--zip_loc',
274274
type=str,
275275
metavar='PATH',
276276
required=False,
277277
default=None,
278-
dest="temp_dir",
278+
dest="zip_loc",
279279
help="Specify the location to write the compressed "
280280
"file used for storage. Useful if the results "
281281
"directory is read only. "
@@ -923,7 +923,7 @@ def main(args):
923923

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

0 commit comments

Comments
 (0)