1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Remove --command flag for service update

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

View File

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

View File

@@ -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
;;

View File

@@ -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 [])