mirror of https://github.com/docker/cli.git
Add zsh completion for 'docker service create --hostname'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
09cb462754
commit
6073e433cd
|
@ -1684,6 +1684,7 @@ __docker_service_subcommand() {
|
||||||
$opts_create_update \
|
$opts_create_update \
|
||||||
"($help)*--container-label=[Container labels]:label: " \
|
"($help)*--container-label=[Container labels]:label: " \
|
||||||
"($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 -): :__docker_complete_images" \
|
"($help -): :__docker_complete_images" \
|
||||||
|
|
Loading…
Reference in New Issue