Skip to content
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

system connection remove: use Args function to validate #23326

Merged
merged 1 commit into from
Jul 18, 2024

Commits on Jul 18, 2024

  1. system connection remove: use Args function to validate

    Using the ExactArgs(1) function is better because we have less
    duplication of the error text and the ValidArgsFunction uses that to
    suggest shell completion. The command before this commit would suggest
    connection names even if there was already one arg on the cli set.
    
    However because there is the --all option we still must exclude that
    first.
    
    Signed-off-by: Paul Holzinger <[email protected]>
    Luap99 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    85f4f89 View commit details
    Browse the repository at this point in the history