1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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>
This commit is contained in:
Harald Albers 2016-07-13 12:42:27 +02:00
parent ae1a809c39
commit c4846f6972

View file

@ -2312,8 +2312,8 @@ _docker_run() {
--memory-swappiness --memory-swappiness
--memory-reservation --memory-reservation
--name --name
--net --network
--net-alias --network-alias
--oom-score-adj --oom-score-adj
--pid --pid
--pids-limit --pids-limit
@ -2469,7 +2469,7 @@ _docker_run() {
__docker_complete_log_options __docker_complete_log_options
return return
;; ;;
--net) --network)
case "$cur" in case "$cur" in
container:*) container:*)
local cur=${cur#*:} local cur=${cur#*:}