Skip to content

Add support for short option groups #2

Closed
@bcoe

Description

@bcoe

In the FAQ it's mentioned that one of the blockers for short options is -foo being treated the same as --foo. I'd argue that I'd rather people not be able to set -foo, but that someone can write the command:

rm -rf, or git -rf ./node_modules.

tldr; I think people know long form arguments take two dashes, and it was a mistake to in yargs/yargs-parser to allow for -foo.

Refs: #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions