-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add default values to --help
output
#39
Conversation
Thanks! Exactly, I'd say "Disabled by default" and "enabled by default". But only if the user passed a default bool value. |
We don't want to include it in the `--help` output as a default value.
@TooTallNate You removed the default value for |
Yes, Lines 339 to 344 in f838e16
Removing the default value just removed it from the help output ("defaults to v1.0.0" doesn't make much sense). |
--help
output--help
output
@TooTallNate Great, thanks! ❤️ I have also added you as a collaborator. |
Fixes #38.
I also fixed a bug with Boolean types showing
undefined
in the output.Before:
Now:
Thought: for bool types we could say "on" or "enabled" (and "off" or "disabled")
instead of true/false to make the output a little bit more human-friendly.