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 decided to split off this from the problem originally mentioned in issue #1318 as it seems to have unintended side-effects. I've re-tested this with Yargs 17.0 and the problem remains. Unless I'm missing something obvious, this makes it impossible to use variadic positional arguments with "duplicate-arguments-array": false.
This seems to also affect variadic positional arguments:
I decided to split off this from the problem originally mentioned in issue #1318 as it seems to have unintended side-effects. I've re-tested this with Yargs 17.0 and the problem remains. Unless I'm missing something obvious, this makes it impossible to use variadic positional arguments with
"duplicate-arguments-array": false.This seems to also affect variadic positional arguments:
Removing
"duplicate-arguments-array": falsefrom the parser configuration results in expected output:Explicitly specifying the type of the variadic argument as
arraywith.positionaldoesn't seem to affect it. This was with yargs 16.2.0.Originally posted by @markus456 in #1318 (comment)
The text was updated successfully, but these errors were encountered: