mirror of
https://github.com/containers/podman.git
synced 2025-05-21 00:56:36 +08:00
Merge pull request #5164 from vrothberg/fix-3878
podman build -f completions
This commit is contained in:
@ -1311,7 +1311,6 @@ _podman_build() {
|
|||||||
--net
|
--net
|
||||||
--network
|
--network
|
||||||
--pid
|
--pid
|
||||||
--runtime
|
|
||||||
--runtime-flag
|
--runtime-flag
|
||||||
--security-opt
|
--security-opt
|
||||||
--shm-size
|
--shm-size
|
||||||
@ -1329,15 +1328,10 @@ _podman_build() {
|
|||||||
-v
|
-v
|
||||||
"
|
"
|
||||||
|
|
||||||
local all_options="$options_with_args $boolean_options"
|
case "$prev" in
|
||||||
|
--file|-f)
|
||||||
case "$prev" in
|
COMPREPLY=($(compgen -W "`ls`" -- "$cur"))
|
||||||
--runtime)
|
|
||||||
COMPREPLY=($(compgen -W 'runc runv' -- "$cur"))
|
|
||||||
;;
|
;;
|
||||||
$(__podman_to_extglob "$options_with_args"))
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
|
Reference in New Issue
Block a user