Change bash completion for docker run --net*
to --network*
Ref: https://github.com/docker/docker/pull/23324
Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit c4846f6972
)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
parent
96247f4277
commit
8a810acb1e
1 changed files with 3 additions and 3 deletions
|
@ -2312,8 +2312,8 @@ _docker_run() {
|
|||
--memory-swappiness
|
||||
--memory-reservation
|
||||
--name
|
||||
--net
|
||||
--net-alias
|
||||
--network
|
||||
--network-alias
|
||||
--oom-score-adj
|
||||
--pid
|
||||
--pids-limit
|
||||
|
@ -2469,7 +2469,7 @@ _docker_run() {
|
|||
__docker_complete_log_options
|
||||
return
|
||||
;;
|
||||
--net)
|
||||
--network)
|
||||
case "$cur" in
|
||||
container:*)
|
||||
local cur=${cur#*:}
|
||||
|
|
Loading…
Reference in a new issue