Browse code

Add missing completion for --config-file

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>

Kenfe-Mickael Laventure authored on 2016/05/25 09:07:23
Showing 2 changed files
... ...
@@ -799,6 +799,7 @@ _docker_daemon() {
799 799
 		--cluster-advertise
800 800
 		--cluster-store
801 801
 		--cluster-store-opt
802
+		--config-file
802 803
 		--containerd
803 804
 		--default-gateway
804 805
 		--default-gateway-v6
... ...
@@ -878,7 +879,7 @@ _docker_daemon() {
878 878
 			__docker_complete_log_drivers
879 879
 			return
880 880
 			;;
881
-		--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
881
+		--config-file|--containerd|--pidfile|-p|--tlscacert|--tlscert|--tlskey)
882 882
 			_filedir
883 883
 			return
884 884
 			;;
... ...
@@ -936,6 +936,7 @@ __docker_subcommand() {
936 936
                 "($help -b --bridge)"{-b=,--bridge=}"[Attach containers to a network bridge]:bridge:_net_interfaces" \
937 937
                 "($help)--bip=[Network bridge IP]:IP address: " \
938 938
                 "($help)--cgroup-parent=[Parent cgroup for all containers]:cgroup: " \
939
+                "($help)--config-file=[Path to daemon configuration file]:Config File:_files" \
939 940
                 "($help)--containerd=[Path to containerd socket]:socket:_files -g \"*.sock\"" \
940 941
                 "($help -D --debug)"{-D,--debug}"[Enable debug mode]" \
941 942
                 "($help)--default-gateway[Container default gateway IPv4 address]:IPv4 address: " \