Turns out it was not choices that was the culprit but requiresArg. It's an embarrasing, long-standing bug in yargs. I made a PR to revert the commit that introduced it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Turns out it was not
choices
that was the culprit butrequiresArg
. It's an embarrasing, long-standing bug in yargs. I made a PR to revert the commit that introduced it.