Преглед изворни кода

Add zsh completion for 'docker service update --hostname'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Steve Durrheimer пре 8 година
родитељ
комит
b23fbc3fbd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      contrib/completion/zsh/_docker

+ 1 - 1
contrib/completion/zsh/_docker

@@ -1753,6 +1753,7 @@ __docker_service_subcommand() {
         "($help)--health-interval=[Time between running the check]:time: "
         "($help)--health-retries=[Consecutive failures needed to report unhealthy]:retries:(1 2 3 4 5)"
         "($help)--health-timeout=[Maximum time to allow one check to run]:time: "
+        "($help)--hostname=[Service container hostname]:hostname: " \
         "($help)*--label=[Service labels]:label: "
         "($help)--limit-cpu=[Limit CPUs]:value: "
         "($help)--limit-memory=[Limit Memory]:value: "
@@ -1792,7 +1793,6 @@ __docker_service_subcommand() {
                 "($help)*--dns-option=[Set DNS options]:DNS option: " \
                 "($help)*--dns-search=[Set custom DNS search domains]:DNS search: " \
                 "($help)*--env-file=[Read environment variables from a file]:environment file:_files" \
-                "($help)--hostname=[Service containers hostname]:hostname: " \
                 "($help)--mode=[Service Mode]:mode:(global replicated)" \
                 "($help)--name=[Service name]:name: " \
                 "($help)*--port=[Publish a port]:port: " \