summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-05-24 08:32:14 -0600
committerEd Santiago <santiago@redhat.com>2022-05-24 09:21:11 -0600
commit8de3e9102454a6cb49e88a0f6099e66b7f8e69ce (patch)
tree011ab26f1dd1de100b6a816856207a14d4d336c3 /cmd/podman
parentd069ad108246a15b57481afd12ef7ffd5667e1d2 (diff)
downloadpodman-8de3e9102454a6cb49e88a0f6099e66b7f8e69ce.tar.gz
podman-8de3e9102454a6cb49e88a0f6099e66b7f8e69ce.tar.bz2
podman-8de3e9102454a6cb49e88a0f6099e66b7f8e69ce.zip
help-message system test: catch more cases
- Look for and prevent lower-case arg descriptions: podman cmd [arg] - Look for and prevent optional-mandatory misordering: podman cmd [ARG] ARG - Tighter whitespace checks (and fix podman pod ps) - simplify a no-longer-necessary mess! #8635 fixed the horrible "CONTAINER | IMAGE" strings (with spaces), so there's no longer a need to special-case those. The one-extra-arg check is now much cleaner. Minor refactoring. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/pods/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pods/ps.go b/cmd/podman/pods/ps.go
index 1275e65dc..a89448275 100644
--- a/cmd/podman/pods/ps.go
+++ b/cmd/podman/pods/ps.go
@@ -24,7 +24,7 @@ var (
// Command: podman pod _ps_
psCmd = &cobra.Command{
- Use: "ps [options]",
+ Use: "ps [options]",
Aliases: []string{"ls", "list"},
Short: "List pods",
Long: psDescription,