Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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