diff options
Diffstat (limited to 'completions')
-rw-r--r-- | completions/bash/podman | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/completions/bash/podman b/completions/bash/podman index 5234f3b99..99e6a3bcb 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1314,7 +1314,6 @@ _podman_build() { --net --network --pid - --runtime --runtime-flag --security-opt --shm-size @@ -1332,15 +1331,10 @@ _podman_build() { -v " - local all_options="$options_with_args $boolean_options" - - case "$prev" in - --runtime) - COMPREPLY=($(compgen -W 'runc runv' -- "$cur")) + case "$prev" in + --file|-f) + COMPREPLY=($(compgen -W "`ls`" -- "$cur")) ;; - $(__podman_to_extglob "$options_with_args")) - return - ;; esac case "$cur" in |