mirror of https://github.com/docker/cli.git
Add zsh completion for 'docker service update --hostname'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
c41fa83e4d
commit
2d48b3f9ac
|
@ -1753,6 +1753,7 @@ __docker_service_subcommand() {
|
||||||
"($help)--health-interval=[Time between running the check]:time: "
|
"($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-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)--health-timeout=[Maximum time to allow one check to run]:time: "
|
||||||
|
"($help)--hostname=[Service container hostname]:hostname: " \
|
||||||
"($help)*--label=[Service labels]:label: "
|
"($help)*--label=[Service labels]:label: "
|
||||||
"($help)--limit-cpu=[Limit CPUs]:value: "
|
"($help)--limit-cpu=[Limit CPUs]:value: "
|
||||||
"($help)--limit-memory=[Limit Memory]:value: "
|
"($help)--limit-memory=[Limit Memory]:value: "
|
||||||
|
@ -1792,7 +1793,6 @@ __docker_service_subcommand() {
|
||||||
"($help)*--dns-option=[Set DNS options]:DNS option: " \
|
"($help)*--dns-option=[Set DNS options]:DNS option: " \
|
||||||
"($help)*--dns-search=[Set custom DNS search domains]:DNS search: " \
|
"($help)*--dns-search=[Set custom DNS search domains]:DNS search: " \
|
||||||
"($help)*--env-file=[Read environment variables from a file]:environment file:_files" \
|
"($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)--mode=[Service Mode]:mode:(global replicated)" \
|
||||||
"($help)--name=[Service name]:name: " \
|
"($help)--name=[Service name]:name: " \
|
||||||
"($help)*--port=[Publish a port]:port: " \
|
"($help)*--port=[Publish a port]:port: " \
|
||||||
|
|
Loading…
Reference in New Issue