-
Notifications
You must be signed in to change notification settings - Fork 10
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
withValue requires '=' for value to be set. #54
Comments
Speculation: I will try reproducing later, but my first guess is that your shim is not passing through |
I am unable to reproduce the problem as described. I see this behaviour: const { parseArgs } = require('@pkgjs/parseargs');
const parsed = parseArgs(['--pow', 'xixxle'], {
withValue: ['pow']
})
console.log(parsed);
(Wondering why there is there an entry for |
@shadowspawn let me test again against the latest |
I was being silly and not passing the options to the parser. |
Parses as:
I believe this should be:
The text was updated successfully, but these errors were encountered: