mirror of https://github.com/docker/cli.git
Add missing completion for --config-file
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
090cf185cd
commit
48ae78b9b7
|
@ -799,6 +799,7 @@ _docker_daemon() {
|
||||||
--cluster-advertise
|
--cluster-advertise
|
||||||
--cluster-store
|
--cluster-store
|
||||||
--cluster-store-opt
|
--cluster-store-opt
|
||||||
|
--config-file
|
||||||
--containerd
|
--containerd
|
||||||
--default-gateway
|
--default-gateway
|
||||||
--default-gateway-v6
|
--default-gateway-v6
|
||||||
|
@ -878,7 +879,7 @@ _docker_daemon() {
|
||||||
__docker_complete_log_drivers
|
__docker_complete_log_drivers
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
|
--config-file|--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -936,6 +936,7 @@ __docker_subcommand() {
|
||||||
"($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
|
"($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
|
||||||
"($help)--bip=[Network bridge IP]:IP address: " \
|
"($help)--bip=[Network bridge IP]:IP address: " \
|
||||||
"($help)--cgroup-parent=[Parent cgroup for all containers]:cgroup: " \
|
"($help)--cgroup-parent=[Parent cgroup for all containers]:cgroup: " \
|
||||||
|
"($help)--config-file=[Path to daemon configuration file]:Config File:_files" \
|
||||||
"($help)--containerd=[Path to containerd socket]:socket:_files -g \"*.sock\"" \
|
"($help)--containerd=[Path to containerd socket]:socket:_files -g \"*.sock\"" \
|
||||||
"($help -D --debug)"{-D,--debug}"[Enable debug mode]" \
|
"($help -D --debug)"{-D,--debug}"[Enable debug mode]" \
|
||||||
"($help)--default-gateway[Container default gateway IPv4 address]:IPv4 address: " \
|
"($help)--default-gateway[Container default gateway IPv4 address]:IPv4 address: " \
|
||||||
|
|
Loading…
Reference in New Issue