From 82bcef38954b4d03b7e047d7843e77bc94647c82 Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 30 Nov 2018 09:15:11 -0600 Subject: add pod short option to ps podman ps has a flag --pod; simply adding a short option of -p Signed-off-by: baude --- cmd/podman/ps.go | 2 +- completions/bash/podman | 2 +- docs/podman-ps.1.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go index 83274c9a8..0b03388a2 100644 --- a/cmd/podman/ps.go +++ b/cmd/podman/ps.go @@ -184,7 +184,7 @@ var ( Usage: "Display the extended information", }, cli.BoolFlag{ - Name: "pod", + Name: "pod, p", Usage: "Print the ID and name of the pod the containers are associated with", }, cli.BoolFlag{ diff --git a/completions/bash/podman b/completions/bash/podman index 076ec7ab4..3cccf2192 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -2033,7 +2033,7 @@ _podman_ps() { --help -h --latest -l --no-trunc - --pod + --pod -p --quiet -q --size -s --namespace --ns diff --git a/docs/podman-ps.1.md b/docs/podman-ps.1.md index 2cb77ffed..7333a1095 100644 --- a/docs/podman-ps.1.md +++ b/docs/podman-ps.1.md @@ -24,7 +24,7 @@ all the containers information. By default it lists: Show all the containers, default is only running containers -**--pod** +**--pod, -p** Display the pods the containers are associated with -- cgit v1.2.3-54-g00ecf