We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the README, opts.boolean doesn't work with -f.
opts.boolean
-f
This would work, but is there another way that doesn't imply patching?
diff --git a/index.js b/index.js index 78cafa8..9fda7a1 100644 --- a/index.js +++ b/index.js @@ -228,6 +228,7 @@ module.exports = function (args, opts) { args[i + 1] && !(/^(-|--)[^-]/).test(args[i + 1]) && !isBooleanKey(key) + && !flags.allBools ) { setArg(key, args[i + 1], arg); i += 1;
The text was updated successfully, but these errors were encountered:
There is not a configuration to change the treatment of automatic short flags.
Sorry, something went wrong.
Do you think a pr adding this option would be
No branches or pull requests
According to the README,
opts.boolean
doesn't work with-f
.This would work, but is there another way that doesn't imply patching?
The text was updated successfully, but these errors were encountered: