diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-11 14:52:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 14:52:39 +0100 |
commit | d9fa5af701b46a29d06d604ac2feacda07dbe255 (patch) | |
tree | e8af7a9e5ce124c1d3a9363ce360e6fadb67b645 | |
parent | 044fc0d783bf3dd5dbc8fb73e40d0b2813c6d91d (diff) | |
parent | 9e1f6aeef8b8e15c7e7190254b97c04c8144b878 (diff) | |
download | podman-d9fa5af701b46a29d06d604ac2feacda07dbe255.tar.gz podman-d9fa5af701b46a29d06d604ac2feacda07dbe255.tar.bz2 podman-d9fa5af701b46a29d06d604ac2feacda07dbe255.zip |
Merge pull request #5164 from vrothberg/fix-3878
podman build -f 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 56559c142..7c14cf67c 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1311,7 +1311,6 @@ _podman_build() { --net --network --pid - --runtime --runtime-flag --security-opt --shm-size @@ -1329,15 +1328,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 |