Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: show usage when called with --help #22

Open
x1B opened this issue May 24, 2018 · 2 comments
Open

CLI: show usage when called with --help #22

x1B opened this issue May 24, 2018 · 2 comments

Comments

@x1B
Copy link
Contributor

x1B commented May 24, 2018

The CLI usage is currently described in the README, but should also be shown when called with --help

@qacwnfq
Copy link
Contributor

qacwnfq commented Jun 21, 2018

I'm thinking about doing a PR for this.
It's probably not worth adding another dependency to some command-line parser.
Instead I think it would be cool to grab the usage directly from the README and output it.
Also usage could be shown, when there are unrecognized options passed.

@x1B
Copy link
Contributor Author

x1B commented Jun 27, 2018

@qacwnfq I like this idea, both grabbing output from the readme, and showing the help when an unrecognized option was passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants