-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BUG] Help output broken for options with falsy default values #855
Comments
Thank you for the report. PR was opened. |
roman-vanesyan
pushed a commit
that referenced
this issue
Sep 15, 2018
plroebuck
changed the title
[BUG] Help output broken for options with falsey default values
[BUG] Help output broken for options with falsy default values
Oct 19, 2018
bestlucky0825
pushed a commit
to bestlucky0825/commander.js
that referenced
this issue
Jun 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Help output for options with falsy default values don't show up.
Steps to Reproduce
Save the following script as "commander.spec.js".
Make the script executable and invoke it as follows to display help.
Expected Behavior
Actual Behavior
Version Information
Additional Information
Where
Command.prototype.optionHelp
Affected releases
v2.12.0 through current (v2.17.1).
Applicable Issues
#122
mochajs/mocha#3433
The text was updated successfully, but these errors were encountered: