automation-tests/cmd/podman/system/connection
Paul Holzinger 85f4f89810
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 <pholzing@redhat.com>
2024-07-18 16:37:37 +02:00
..
add.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
default.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
list.go Replace golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02:00
remove.go system connection remove: use Args function to validate 2024-07-18 16:37:37 +02:00
rename.go Bump Go module to v5 2024-02-08 09:35:39 -05:00