diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index f124b28885..602a9ab2ce 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -1748,7 +1748,6 @@ _docker_service_update() { if [ "$subcommand" = "update" ] ; then options_with_args="$options_with_args --arg - --command --image " diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index f833206c80..1f687d8805 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -1154,7 +1154,6 @@ __docker_service_subcommand() { $opts_help \ $opts_create_update \ "($help)--arg=[Service command args]:arguments: _normal" \ - "($help)--command=[Service command]:command: _command_names -e" \ "($help)--image=[Service image tag]:image:__docker_repositories" \ "($help -)1:service:__docker_complete_services" && ret=0 ;; diff --git a/docs/reference/commandline/service_update.md b/docs/reference/commandline/service_update.md index 4aa003e640..1db62063fc 100644 --- a/docs/reference/commandline/service_update.md +++ b/docs/reference/commandline/service_update.md @@ -18,7 +18,6 @@ Update a service Options: --arg value Service command args (default []) - --command value Service command (default []) --constraint value Placement constraints (default []) --endpoint-mode string Endpoint mode (vip or dnsrr) -e, --env value Set environment variables (default [])