Skip to content

Commit

Permalink
Make argument descriptions more helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecLad committed Dec 11, 2024
1 parent 8cc57f2 commit dea13c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cvat-cli/src/cvat_cli/_internal/commands_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def configure_parser(self, parser: argparse.ArgumentParser) -> None:
"--labels",
default=[],
type=parse_label_arg,
help="string or file containing JSON labels specification",
help="string or file containing JSON labels specification (default: %(default)s)",
)
parser.add_argument(
"--dataset_path",
Expand All @@ -54,14 +54,16 @@ def configure_parser(self, parser: argparse.ArgumentParser) -> None:
"--dataset_format",
default="CVAT 1.1",
type=str,
help="format of the dataset file being uploaded, e.g. CVAT 1.1",
help="format of the dataset file being uploaded"
" (only applies when --dataset_path is specified; default: %(default)s)",
)
parser.add_argument(
"--completion_verification_period",
dest="status_check_period",
default=2,
type=float,
help="period between status checks (only applies when --dataset_path is specified)",
help="period between status checks"
" (only applies when --dataset_path is specified; default: %(default)s)",
)

def execute(
Expand Down

0 comments on commit dea13c8

Please sign in to comment.