From 0f4c3f59f3f61051688efd60260aedbb27196e89 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 16 Dec 2016 15:10:20 +0100 Subject: [PATCH] swarm leave is not only for workers the "docker swarm leave" command description mentioned that the command can only be used for workers, however, the command can also be used for managers (using the `-f` / `--force` option). this patch removes the "(workers only)" part of the command description. Signed-off-by: Sebastiaan van Stijn Upstream-commit: 4cf95aeaa2e13e3d8e302eeffbdee3345aaae331 Component: cli --- components/cli/command/swarm/leave.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/command/swarm/leave.go b/components/cli/command/swarm/leave.go index 1ffaa3fcc9..e2cfa0a045 100644 --- a/components/cli/command/swarm/leave.go +++ b/components/cli/command/swarm/leave.go @@ -19,7 +19,7 @@ func newLeaveCommand(dockerCli *command.DockerCli) *cobra.Command { cmd := &cobra.Command{ Use: "leave [OPTIONS]", - Short: "Leave the swarm (workers only)", + Short: "Leave the swarm", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { return runLeave(dockerCli, opts)