click-man
click-man copied to clipboard
Feature switches are not handled correctly
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.