Binary flags only show the first option in the help text
Closed this issue · 0 comments
allmightyspiff commented
@click.option(
'--enable/--disable',
default=True,
help="""
Enable/Disable snapshot notification. Use `slcli block snapshot-set-notification volumeId --enable` to enable.
""",
required=True)
In the click option has mentioned, --enable/--disable but in the cli only --enable is only displayed.
./slcli block snapshot-set-notification --help
Usage: slcli block snapshot-set-notification [OPTIONS] VOLUME_ID
Enables/Disables snapshot space usage threshold warning for a given volume.
┌────┬───────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │ volume_id │ │
│ │ --enable │ Enable/Disable snapshot notification. Use `slcli block snapshot-set-notification volumeId --enable` to enable. [required] │
│ -h │ --help │ Show this message and exit. │
└────┴───────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘