Skip to content

Automatically create --no-foo for boolean flag --foo #29

@cgay

Description

@cgay

As discussed here it would be nice to automatically get --no-foo as the negative option for boolean flag --foo.

When negative-names: is provided the automatic --no-foo should not be created. negative-names: #f (or an empty sequence) should disable all negative names.

Honestly not sure whether to support --nofoo, --no-foo, or both. I guess --nofoo is traditional, so potentially less confusing.

See also: #11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions