Merge pull request #24583 from albers/completion-run--network

Change bash completion for `docker run --net*` to `--network*`
This commit is contained in:
Sebastiaan van Stijn 2016-07-13 12:46:58 +02:00 committed by GitHub
commit a9a8d807f0

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