diff --git a/api/client/service/opts.go b/api/client/service/opts.go index d57c95f3b3..688bc55fae 100644 --- a/api/client/service/opts.go +++ b/api/client/service/opts.go @@ -453,7 +453,7 @@ func addServiceFlags(cmd *cobra.Command, opts *serviceOptions) { flags.StringVar(&opts.restartPolicy.condition, flagRestartCondition, "", "Restart when condition is met (none, on_failure, or any)") flags.Var(&opts.restartPolicy.delay, flagRestartDelay, "Delay between restart attempts") flags.Var(&opts.restartPolicy.maxAttempts, flagRestartMaxAttempts, "Maximum number of restarts before giving up") - flags.Var(&opts.restartPolicy.window, flagRestartWindow, "Window used to evalulate the restart policy") + flags.Var(&opts.restartPolicy.window, flagRestartWindow, "Window used to evaluate the restart policy") flags.StringSliceVar(&opts.constraints, flagConstraint, []string{}, "Placement constraints") diff --git a/docs/reference/commandline/service_create.md b/docs/reference/commandline/service_create.md index 1196a4dc88..f385d8cb05 100644 --- a/docs/reference/commandline/service_create.md +++ b/docs/reference/commandline/service_create.md @@ -35,7 +35,7 @@ Options: --restart-condition string Restart when condition is met (none, on_failure, or any) --restart-delay value Delay between restart attempts (default none) --restart-max-attempts value Maximum number of restarts before giving up (default none) - --restart-window value Window used to evalulate the restart policy (default none) + --restart-window value Window used to evaluate the restart policy (default none) --stop-grace-period value Time to wait before force killing a container (default none) --update-delay duration Delay between updates --update-parallelism uint Maximum number of tasks updated simultaneously diff --git a/docs/reference/commandline/service_update.md b/docs/reference/commandline/service_update.md index aa46e2ff8e..03c3ab33e7 100644 --- a/docs/reference/commandline/service_update.md +++ b/docs/reference/commandline/service_update.md @@ -38,7 +38,7 @@ Options: --restart-condition string Restart when condition is met (none, on_failure, or any) --restart-delay value Delay between restart attempts (default none) --restart-max-attempts value Maximum number of restarts before giving up (default none) - --restart-window value Window used to evalulate the restart policy (default none) + --restart-window value Window used to evaluate the restart policy (default none) --stop-grace-period value Time to wait before force killing a container (default none) --update-delay duration Delay between updates --update-parallelism uint Maximum number of tasks updated simultaneously