diff options
author | haircommander <pehunt@redhat.com> | 2018-07-20 14:06:26 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-25 18:22:35 +0000 |
commit | 73e39452828c2715dc5943de605f7cd488db24cb (patch) | |
tree | 6bf1e3b44764dfbefa0440e05510f9bef2e4fa24 /completions/bash | |
parent | 8ce0e0b2460220fccbb31fced940604b55d8a195 (diff) | |
download | podman-73e39452828c2715dc5943de605f7cd488db24cb.tar.gz podman-73e39452828c2715dc5943de605f7cd488db24cb.tar.bz2 podman-73e39452828c2715dc5943de605f7cd488db24cb.zip |
Add pod kill
With tests, man page, and completions.
Signed-off-by: haircommander <pehunt@redhat.com>
Closes: #1125
Approved by: rhatdan
Diffstat (limited to 'completions/bash')
-rw-r--r-- | completions/bash/podman | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 374a84a4c..0019343e2 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -2086,6 +2086,29 @@ _podman_pod_create() { _complete_ "$options_with_args" "$boolean_options" } +_podman_pod_kill() { + local options_with_args=" + " + + local boolean_options=" + --all + -a + --signal + -s + --latest + -l + " + _complete_ "$options_with_args" "$boolean_options" + case "$cur" in + -*) + COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) + ;; + *) + __podman_complete_pod_names + ;; + esac +} + __podman_pod_ps() { local options_with_args=" -f @@ -2215,6 +2238,7 @@ _podman_pod() { " subcommands=" create + kill ps restart rm |