vercel / arg

Simple argument parsing
https://npmjs.com/arg
MIT License
1.23k stars 54 forks source link

Do not split the arguments if any of them is undefined #68

Open GHolk opened 2 years ago

GHolk commented 2 years ago

About #67: the permissive mode will store the undefined arguments in the _ array, which is intendented to be processed by another arguments parsing library, and it may has its own logic to separate or parse arguments, so we should not process the unknown arguments.

This will change one behavior defined in the test.js.