Commit 52a50521 authored by Paulo Medeiros's avatar Paulo Medeiros
Browse files

More descriptive help msgs for thin command

parent dfcd85bb
......@@ -201,14 +201,22 @@ def get_parsed_args(program_name):
# Configure parser for the "thin" command #
###########################################
parser_thin = subparsers.add_parser(
"thin", help="Thin data from input file(s) using domain's grid.",
"thin",
help=(
"Thin data from input file(s) using the thinning configs "
"specified for the adopted domain."
),
)
parser_thin.add_argument(
"paths",
nargs="*",
type=Path,
default=list(Path(".").glob("*.csv")),
help="Path(s) to input CSVs containing at least (lon, lat) data.",
help=(
"Path(s) to input CSVs containing at least (lon, lat) data. "
"Directory paths are also accepted, in which case they will be "
"recursively searched for CSV files."
),
)
parser_thin.set_defaults(func=thin_data_from_csv_files)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment