summaryrefslogtreecommitdiff
path: root/completions
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-01 11:26:30 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-04 17:00:48 +0000
commit5c9694a0c1fc1d717c61597f659590dcb7b6f25b (patch)
tree4c2ff5ee08fbcd7d26faa2fc1e8ff736122a94e1 /completions
parentadf8809521733283c364ec7de27c783e324185e8 (diff)
downloadpodman-5c9694a0c1fc1d717c61597f659590dcb7b6f25b.tar.gz
podman-5c9694a0c1fc1d717c61597f659590dcb7b6f25b.tar.bz2
podman-5c9694a0c1fc1d717c61597f659590dcb7b6f25b.zip
kpod attach
Attach to a running container Signed-off-by: baude <bbaude@redhat.com> Closes: #95 Approved by: rhatdan
Diffstat (limited to 'completions')
-rw-r--r--completions/bash/kpod12
1 files changed, 12 insertions, 0 deletions
diff --git a/completions/bash/kpod b/completions/bash/kpod
index 68001c36e..0901a231b 100644
--- a/completions/bash/kpod
+++ b/completions/bash/kpod
@@ -653,6 +653,17 @@ __kpod_images() {
__kpod_q images $images_args | awk "$awk_script" | grep -v '<none>$'
}
+_kpod_attach() {
+ local options_with_args="
+ --detach-keys
+ "
+ local boolean_options="
+ --help
+ -h
+ --no-stdin"
+ _complete_ "$options_with_args" "$boolean_options"
+}
+
_kpod_diff() {
local options_with_args="
--format
@@ -1443,6 +1454,7 @@ _kpod_kpod() {
--version -v
"
commands="
+ attach
create
diff
export