diff options
Diffstat (limited to 'completions/bash/kpod')
-rw-r--r-- | completions/bash/kpod | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/completions/bash/kpod b/completions/bash/kpod index 0901a231b..6c66c63c0 100644 --- a/completions/bash/kpod +++ b/completions/bash/kpod @@ -682,6 +682,21 @@ _kpod_diff() { esac } +_kpod_exec() { + local options_with_args=" + -e + --env + --user + -u + " + local boolean_options=" + --privileged + --tty + -t + " + _complete_ "$options_with_args" "$boolean_options" + +} _kpod_export() { local options_with_args=" --output @@ -931,26 +946,6 @@ _kpod_push() { esac } -_kpod_rename() { - local boolean_options=" - --help - -h - " - local options_with_args=" - " - - local all_options="$options_with_args $boolean_options" - - case "$cur" in - -*) - COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur")) - ;; - *) - __kpod_list_containers - ;; - esac -} - _kpod_container_run() { local options_with_args=" --add-host @@ -1457,6 +1452,7 @@ _kpod_kpod() { attach create diff + exec export history images |