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

typo in docs for Command#option #99

Closed
arieljake opened this issue Oct 31, 2012 · 0 comments
Closed

typo in docs for Command#option #99

arieljake opened this issue Oct 31, 2012 · 0 comments

Comments

@arieljake
Copy link

I believe the comment incorrectly states "false"...

Is:

// simple boolean defaulting to false
program.option('-C, --no-cheese', 'remove cheese');

Expected:

// simple boolean defaulting to true
program.option('-C, --no-cheese', 'remove cheese');

Additionally, why it is defaulting to true, "because the letter is captalized", should be mentioned.

BTW - taking the chance to say THANK YOU FOR THIS project, it is a work of art and is so useful on EVERY project. great work!

SomeKittens added a commit that referenced this issue Jul 4, 2014
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