Add missing completion for --config-file

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-05-24 17:07:23 -07:00 committed by Tibor Vass
parent 090cf185cd
commit 48ae78b9b7
2 changed files with 3 additions and 1 deletions

View File

@ -799,6 +799,7 @@ _docker_daemon() {
--cluster-advertise
--cluster-store
--cluster-store-opt
--config-file
--containerd
--default-gateway
--default-gateway-v6
@ -878,7 +879,7 @@ _docker_daemon() {
__docker_complete_log_drivers
return
;;
--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
--config-file|--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
_filedir
return
;;

View File

@ -936,6 +936,7 @@ __docker_subcommand() {
"($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
"($help)--bip=[Network bridge IP]:IP address: " \
"($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 -D --debug)"{-D,--debug}"[Enable debug mode]" \
"($help)--default-gateway[Container default gateway IPv4 address]:IPv4 address: " \