podman/cmd
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
..
podman system connection remove: use Args function to validate 2024-07-18 16:37:37 +02:00
podman-mac-helper cmd: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
podman-testing System tests: add `podman system check` tests 2024-06-04 10:00:37 -04:00
podman-wslkerninst Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
quadlet Expand drop-in search paths 2024-07-17 17:43:02 -04:00
rootlessport update github.com/rootless-containers/rootlesskit to v2 2024-04-05 12:25:02 +02:00
winpath Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00