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 <github@gone.nl>
| ... | ... |
@@ -19,7 +19,7 @@ func newLeaveCommand(dockerCli *command.DockerCli) *cobra.Command {
|
| 19 | 19 |
|
| 20 | 20 |
cmd := &cobra.Command{
|
| 21 | 21 |
Use: "leave [OPTIONS]", |
| 22 |
- Short: "Leave the swarm (workers only)", |
|
| 22 |
+ Short: "Leave the swarm", |
|
| 23 | 23 |
Args: cli.NoArgs, |
| 24 | 24 |
RunE: func(cmd *cobra.Command, args []string) error {
|
| 25 | 25 |
return runLeave(dockerCli, opts) |