From 5c9694a0c1fc1d717c61597f659590dcb7b6f25b Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 1 Dec 2017 11:26:30 -0600 Subject: kpod attach Attach to a running container Signed-off-by: baude Closes: #95 Approved by: rhatdan --- completions/bash/kpod | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'completions') 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 '$' } +_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 -- cgit v1.2.3-54-g00ecf