diff --git a/docs/reference/commandline/service_update.md b/docs/reference/commandline/service_update.md index 34559555e0..5eb8ded368 100644 --- a/docs/reference/commandline/service_update.md +++ b/docs/reference/commandline/service_update.md @@ -158,16 +158,13 @@ service name. ```bash $ docker service create \ --name=myservice \ - --mount \ - type=volume,source=test-data,target=/somewhere \ - nginx:alpine \ - myservice + --mount type=volume,source=test-data,target=/somewhere \ + nginx:alpine myservice $ docker service update \ - --mount-add \ - type=volume,source=other-volume,target=/somewhere-else \ + --mount-add type=volume,source=other-volume,target=/somewhere-else \ myservice myservice