node-flags icon indicating copy to clipboard operation
node-flags copied to clipboard

Command-line arguments not recognised as flags are returned in an array from parse() instead of triggering an error.

Open pawrsccouk opened this issue 6 years ago • 0 comments

Command-line arguments not recognised as flags are returned in an array from parse() instead of triggering an error.

The -- is not required for this to happen, but it is still available in case you have arguments that look like flags. The arguments are consistently returned from parse() each time it is called, until reset() is triggered.

This allows for more consistent Unix-like behaviour.

pawrsccouk avatar Apr 10 '19 22:04 pawrsccouk