Remove --command flag for service update

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2016-07-13 16:19:21 +02:00 committed by Tibor Vass
parent dd1708d943
commit 2e844f5e8d
3 changed files with 0 additions and 3 deletions

View File

@ -1748,7 +1748,6 @@ _docker_service_update() {
if [ "$subcommand" = "update" ] ; then if [ "$subcommand" = "update" ] ; then
options_with_args="$options_with_args options_with_args="$options_with_args
--arg --arg
--command
--image --image
" "

View File

@ -1154,7 +1154,6 @@ __docker_service_subcommand() {
$opts_help \ $opts_help \
$opts_create_update \ $opts_create_update \
"($help)--arg=[Service command args]:arguments: _normal" \ "($help)--arg=[Service command args]:arguments: _normal" \
"($help)--command=[Service command]:command: _command_names -e" \
"($help)--image=[Service image tag]:image:__docker_repositories" \ "($help)--image=[Service image tag]:image:__docker_repositories" \
"($help -)1:service:__docker_complete_services" && ret=0 "($help -)1:service:__docker_complete_services" && ret=0
;; ;;

View File

@ -18,7 +18,6 @@ Update a service
Options: Options:
--arg value Service command args (default []) --arg value Service command args (default [])
--command value Service command (default [])
--constraint value Placement constraints (default []) --constraint value Placement constraints (default [])
--endpoint-mode string Endpoint mode (vip or dnsrr) --endpoint-mode string Endpoint mode (vip or dnsrr)
-e, --env value Set environment variables (default []) -e, --env value Set environment variables (default [])