1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03: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>
Upstream-commit: c4846f697271d2990cca8481338f4827b2558112
Component: engine
This commit is contained in:
Harald Albers
2016-07-13 12:42:27 +02:00
parent 6e8f820ea2
commit 0a5f2230dd

View File

@@ -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#*:}