Skip to content

Feature switches are not handled correctly #41

@stephenfin

Description

@stephenfin

Click allows you define options like so [1]:

@click.option('--public/--private', default=False)

In this case, two mutually exclusive options will appear for the command, --public and --private. In the above case, the default is False which effectively means --private is the default choice. However, looking at a rendered man page, I see something like so:

--public / --private

I suspect this is because we need to special case these options but are not doing so.

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