add pod short option to ps

podman ps has a flag --pod; simply adding a short option of -p

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude 2018-11-30 09:15:11 -06:00
parent 3af62f620a
commit 82bcef3895
3 changed files with 3 additions and 3 deletions

View file

@ -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{

View file

@ -2033,7 +2033,7 @@ _podman_ps() {
--help -h
--latest -l
--no-trunc
--pod
--pod -p
--quiet -q
--size -s
--namespace --ns

View file

@ -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