Skip to content

fix: handle dot notation boolean options#63

Merged
bcoe merged 1 commit into
yargs:masterfrom
ssonal:develop
Nov 7, 2016
Merged

fix: handle dot notation boolean options#63
bcoe merged 1 commit into
yargs:masterfrom
ssonal:develop

Conversation

@ssonal

@ssonal ssonal commented Oct 15, 2016

Copy link
Copy Markdown
Contributor

Fixes yargs/yargs#617

On studying the code I found that this bug is being caused by yargs-parser. I think my fix should solve this issue, though I'm not sure if something else breaks because of these changes.

I've tested this modified library with yargs and found that all test cases pass.

@bcoe

bcoe commented Nov 4, 2016

Copy link
Copy Markdown
Member

@ssonal appreciate this patch, sorry for the slow turn around. Will hopefully have time to do a tiny bit of OSSing this weekend.

@bcoe
bcoe merged commit 02c3545 into yargs:master Nov 7, 2016
@bcoe

bcoe commented Nov 7, 2016

Copy link
Copy Markdown
Member

@ssonal thank you very much for this patch.

@ssonal

ssonal commented Nov 7, 2016

Copy link
Copy Markdown
Contributor Author

No problem!

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

Successfully merging this pull request may close these issues.

Dot-notation boolean flags aren't parsed correctly

2 participants