Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information