summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-02-11 14:52:39 +0100
committerGitHub <noreply@github.com>2020-02-11 14:52:39 +0100
commitd9fa5af701b46a29d06d604ac2feacda07dbe255 (patch)
treee8af7a9e5ce124c1d3a9363ce360e6fadb67b645
parent044fc0d783bf3dd5dbc8fb73e40d0b2813c6d91d (diff)
parent9e1f6aeef8b8e15c7e7190254b97c04c8144b878 (diff)
downloadpodman-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/podman12
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