From 541d0255f6f067f30089be5ae417d96c66d8b8fb Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Thu, 23 Jun 2016 08:44:08 +0200 Subject: [PATCH] Add zsh completion for 'docker {create,run,network connect} --link-local-ip' Signed-off-by: Steve Durrheimer Upstream-commit: 704d9b6864cc81a1564f482a2dfbaa32b9c5e905 Component: engine --- components/engine/contrib/completion/zsh/_docker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/engine/contrib/completion/zsh/_docker b/components/engine/contrib/completion/zsh/_docker index 5e0d61fca9..97ae3e8aa5 100644 --- a/components/engine/contrib/completion/zsh/_docker +++ b/components/engine/contrib/completion/zsh/_docker @@ -563,6 +563,7 @@ __docker_network_subcommand() { "($help)--ip=[Container IPv4 address]:IPv4: " \ "($help)--ip6=[Container IPv6 address]:IPv6: " \ "($help)*--link=[Add a link to another container]:link:->link" \ + "($help)*--link-local-ip=[Add a link-local address for the container]:IPv4/IPv6: " \ "($help -)1:network:__docker_networks" \ "($help -)2:containers:__docker_containers" && ret=0 @@ -820,6 +821,7 @@ __docker_subcommand() { "($help)--ip6=[Container IPv6 address]:IPv6: " "($help)--ipc=[IPC namespace to use]:IPC namespace: " "($help)*--link=[Add link to another container]:link:->link" + "($help)*--link-local-ip=[Add a link-local address for the container]:IPv4/IPv6: " "($help)*"{-l=,--label=}"[Container metadata]:label: " "($help)--log-driver=[Default driver for container logs]:Logging driver:(awslogs etwlogs fluentd gcplogs gelf journald json-file none splunk syslog)" "($help)*--log-opt=[Log driver specific options]:log driver options:__docker_log_options"