yargs / yargs-parser

:muscle: the mighty option parser used by yargs
http://yargs.js.org/
ISC License
493 stars 119 forks source link

`negation-prefix` does not work with `short-option-groups` #468

Open wdanilo opened 1 year ago

wdanilo commented 1 year ago

Hi, I want to use short-option-groups and I want negation-prefix to work, however, yargs parses negation prefix only if it starts with --, so I can't use -no-window. Can this be improved, please? :)

shadowspawn commented 1 year ago

We would consider a pull request, but (sorry) I doubt the maintainers will work on this. short-option-groups is somewhat a historical setting and long options using a double-dash is the far more common pattern.