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:
parent
ae1a809c39
commit
c4846f6972
1 changed files with 3 additions and 3 deletions
|
@ -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#*:}
|
||||||
|
|
Loading…
Add table
Reference in a new issue