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

Help broke #1092

Closed
GregTheGreek opened this issue Nov 10, 2019 · 2 comments
Closed

Help broke #1092

GregTheGreek opened this issue Nov 10, 2019 · 2 comments

Comments

@GregTheGreek
Copy link

It seems help is broken when using reuqiredOption

$ node index.js --help
error: required option '-t, --target <url>' not specified
@shadowspawn
Copy link
Collaborator

Yes, the requiredOption is being enforced before the help is displayed which is a bug. (As a work-around you can get to the help by supplying the required option.)

Already reported in #1089
Fix on the way: #1091

@shadowspawn
Copy link
Collaborator

Should be fixed in 4.0.1 which has been released.

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

No branches or pull requests

2 participants