summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaircommander <pehunt@redhat.com>2018-08-24 11:43:17 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-24 18:02:26 +0000
commitfacdfbc596ccc279755091b3408e83f0db26d536 (patch)
tree0bc08b93625371935f2e9a6f75a3f577239b40b9
parent2cde9540f1f6b81fcf3e0b88198080445d8c384d (diff)
downloadpodman-facdfbc596ccc279755091b3408e83f0db26d536.tar.gz
podman-facdfbc596ccc279755091b3408e83f0db26d536.tar.bz2
podman-facdfbc596ccc279755091b3408e83f0db26d536.zip
add completion for --pod in run and create
Signed-off-by: haircommander <pehunt@redhat.com> Closes: #1339 Approved by: mheon
-rw-r--r--completions/bash/podman4
1 files changed, 4 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 2aa46f5fa..083211fc1 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -1644,6 +1644,10 @@ _podman_container_run() {
esac
return
;;
+ --pod)
+ __podman_complete_pod_names
+ return
+ ;;
--pid)
case "$cur" in
*:*)