Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Binary flags only show the first option in the help text #2046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
allmightyspiff opened this issue Jul 18, 2023 · 0 comments Β· Fixed by #2106
Closed

Binary flags only show the first option in the help text #2046

allmightyspiff opened this issue Jul 18, 2023 · 0 comments Β· Fixed by #2106
Assignees
Labels

Comments

@allmightyspiff
Copy link
Member

@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.                                                                                                β”‚
β””β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: βœ… Done
Development

Successfully merging a pull request may close this issue.

1 participant