Skip to content

UX: command line help could be more helpful #2

Description

@FObersteiner

with the current version, I get

❯ cloudnet-submit -h
usage: cloudnet-submit [-h] [--version] [--generate-config] [-c CONFIG] [-n] [-d [DATE ...]] [-l LAST_NDAYS] [--from-date FROM_DATE] [--to-date TO_DATE] [--host HOST] [--port PORT]

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --generate-config
  -c, --config CONFIG
  -n, --dry-run
  -d, --date [DATE ...]
  -l, --last-ndays LAST_NDAYS
  --from-date FROM_DATE
  --to-date TO_DATE
  --host HOST
  --port PORT

There are no descriptions nor defaults shown - which I found confusing, for instance -l has a derived value of 3 days which I only realized after what I wanted to do did not work.

I can make a PR if you'd like.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions