Skip to content

Commit

Permalink
update CLI arg description and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Aug 8, 2024
1 parent 84d6a3e commit d8ce913
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ options:

Required:
path/directory or path list
Files to be concatenated, specified via a (1) single directory containing the files to be concatenated, (2) single text file
containing linebreak-separated paths of the files to be concatenated, or (3) multiple filepaths of the files to be concatenated.
Files to be concatenated, specified via (1) multiple paths of the files to be concatenated, (2) single path to text
file containing linebreak-separated paths of files to be concatenated, (3) single path to netCDF file to be copied to
output path, or a (4) single directory containing the files to be concatenated.
-o OUTPUT_PATH, --output_path OUTPUT_PATH
The output filename for the merged output.
```
Expand Down
9 changes: 5 additions & 4 deletions concatenator/run_stitchee.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ def parse_args(args: list) -> argparse.Namespace:
"input",
metavar="path/directory or path list",
nargs="+",
help="Files to be concatenated, specified via a "
"(1) single directory containing the files to be concatenated, "
"(2) single text file containing linebreak-separated paths of the files to be concatenated, "
"or (3) multiple filepaths of the files to be concatenated.",
help="Files to be concatenated, specified via "
"(1) multiple paths of the files to be concatenated, "
"(2) single path to text file containing linebreak-separated paths of files to be concatenated, "
"(3) single path to netCDF file to be copied to output path, "
"or a (4) single directory containing the files to be concatenated.",
)
req_grp.add_argument(
"-o",
Expand Down

0 comments on commit d8ce913

Please sign in to comment.