Closed 75lb closed 6 years ago
This output from this example is incorrect.
> const commandLineArgs = require('command-line-args') > const definitions = [ { name: 'file', type: String, defaultOption: true } ] > commandLineArgs(definitions, { partial: true, argv: [ '--two=3' ] }) { file: '3', _unknown: [ '--two' ] }
It should result in this output:
{ _unknown: [ '--two=3' ] }
Fixed in v5.0.0.
This output from this example is incorrect.
It should result in this output: