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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-11-10 21:00:17 +01:00 committed by Tibor Vass
parent 09cb462754
commit 6073e433cd
1 changed files with 1 additions and 0 deletions

View File

@ -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" \