diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-20 05:41:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 05:41:38 -0800 |
commit | 2de6cadd6f81b69f33485e4d4601606afbefd748 (patch) | |
tree | d2b9e118ecd2c43bd18c90ac7f4730018a559d51 /completions/bash | |
parent | 2e9952c4240319d8aeeefad10c07d842e7b01765 (diff) | |
parent | 9b03cacc87c4d59fc301c21ef73ddc301ec753fb (diff) | |
download | podman-2de6cadd6f81b69f33485e4d4601606afbefd748.tar.gz podman-2de6cadd6f81b69f33485e4d4601606afbefd748.tar.bz2 podman-2de6cadd6f81b69f33485e4d4601606afbefd748.zip |
Merge pull request #1967 from baude/kubereplay
Add Play
Diffstat (limited to 'completions/bash')
-rw-r--r-- | completions/bash/podman | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 4702ae0e0..2ce70a1f5 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -895,6 +895,26 @@ _podman_generate() { ;; esac } + +_podman_play() { + local boolean_options=" + --help + -h + " + subcommands=" + kube + " + __podman_subcommands "$subcommands $aliases" && return + + case "$cur" in + -*) + COMPREPLY=( $( compgen -W "--help" -- "$cur" ) ) + ;; + *) + COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) ) + ;; + esac +} _podman_container() { local boolean_options=" --help @@ -2247,6 +2267,22 @@ _podman_generate_kube() { --service " +_podman_play_kube() { + local options_with_args=" + --authfile + --cert-dir + --creds + --signature-policy + " + + local boolean_options=" + -h + --help + --quiet + -q + --tls-verify + " + _podman_container_runlabel() { local options_with_args=" --authfile @@ -2750,6 +2786,7 @@ _podman_podman() { ps pull push + play restart rm rmi |