mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-01 21:27:53 +00:00
Merge pull request #5164 from vrothberg/fix-3878
podman build -f completions
This commit is contained in:
commit
d9fa5af701
1 changed files with 3 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue