summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-04-17 08:55:59 -0700
committerGitHub <noreply@github.com>2019-04-17 08:55:59 -0700
commit799d4667c1c33ac025741e2082739999f5b4563a (patch)
tree9fe87a7fc5f470314f754b8452163c4f59fd1a2c /completions
parentd0c5e216ca508d195b805d0e48b159cfbff868a9 (diff)
parent4319552cf89e72925a80c63f427e5ef0a6376046 (diff)
downloadpodman-799d4667c1c33ac025741e2082739999f5b4563a.tar.gz
podman-799d4667c1c33ac025741e2082739999f5b4563a.tar.bz2
podman-799d4667c1c33ac025741e2082739999f5b4563a.zip
Merge pull request #2936 from haircommander/pod-prune
Add podman pod prune
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/podman16
1 files changed, 16 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 3616c6ca1..dce23df2b 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -2740,6 +2740,22 @@ _podman_pod_ps() {
__podman_pod_ps
}
+_podman_pod_prune() {
+ local options_with_args="
+ "
+
+ local boolean_options="
+ -f
+ -h
+ --help
+ "
+ case "$cur" in
+ -*)
+ COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
+ ;;
+ esac
+}
+
_podman_pod_restart() {
local options_with_args="
"