mirror of https://github.com/docker/cli.git
Remove --command flag for service update
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
dd1708d943
commit
2e844f5e8d
|
@ -1748,7 +1748,6 @@ _docker_service_update() {
|
|||
if [ "$subcommand" = "update" ] ; then
|
||||
options_with_args="$options_with_args
|
||||
--arg
|
||||
--command
|
||||
--image
|
||||
"
|
||||
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
|
@ -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 [])
|
||||
|
|
Loading…
Reference in New Issue