You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run the code like node index.js -a="aaa=bbb" --a2="aaa=bbb"
And here are the output for process.argv, minimist parsed result and yargs-parser parsed result:
originargv['blabla/.nvm/versions/node/v14.7.0/bin/node','blabla not important','-a=aaa=bbb','--a2=aaa=bbb']minimist{_: [],a: 'aaa',a2: 'aaa=bbb'}yargsparser{_: [],a: 'aaa=bbb',a2: 'aaa=bbb'}
You could see, for -a, minimist seems to get the wrong result.
The text was updated successfully, but these errors were encountered:
Original issue by @poppinlp at https://github.com/substack/minimist/issues/154
I've run the code like node index.js
-a="aaa=bbb" --a2="aaa=bbb"
And here are the output for
process.argv
, minimist parsed result and yargs-parser parsed result:You could see, for
-a
, minimist seems to get the wrong result.The text was updated successfully, but these errors were encountered: