Skip to content

Commit

Permalink
fix: [FC-0063] Multiple input files processing is fixed
Browse files Browse the repository at this point in the history
There was an error that after specifying several input files,
only the last one was processed. It's fixed and all input files
are processed now.
  • Loading branch information
myhailo-chernyshov-rg authored and ormsbee committed Jan 23, 2025
1 parent 1bfea42 commit a5bd0db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cc2olx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
def parse_args(args=None):
parser = argparse.ArgumentParser(
description=(
"This script converts imscc files into folders with " "all the content; in the defined folder structure."
"This script converts imscc files into folders with all the content; in the defined folder structure."
)
)
parser.add_argument(
"-i",
"--inputs",
nargs="*",
action="append",
type=lambda p: Path(p).absolute(),
required=True,
help=("Please provide the paths to the imscc files or directories " "that contain them."),
help="Please provide the paths to the imscc files or directories that contain them.",
)
parser.add_argument(
"-l",
Expand Down

0 comments on commit a5bd0db

Please sign in to comment.