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

fix(unknown-options-as-args): '--' is not an unknown option #207

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

evocateur
Copy link
Contributor

This fixes an edge case created by @henderea's #181 and #202 when unknown-options-as-args and populate-- are both true. I encountered it when attempting to upgrade Lerna from yargs v12 to yargs latest (v14).

In the process of identifying the fix, I realized I probably shouldn't be using populate-- 🤣 (the new unknown-options-as-args is much better for my use-case!)

@evocateur evocateur requested review from bcoe and mleguen October 15, 2019 00:48
@bcoe bcoe merged commit 3fee2d8 into yargs:master Oct 15, 2019
@evocateur evocateur deleted the double-dash-is-not-unknown branch October 15, 2019 19:52
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.

2 participants