Reorder swarm commands

This way "join-token" appears next to "join" in the help output.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 58ba4c313b)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Aaron Lehmann 2016-07-21 18:08:41 -07:00 committed by Tibor Vass
parent 83e40c5025
commit 7836221015

View file

@ -22,10 +22,10 @@ func NewSwarmCommand(dockerCli *client.DockerCli) *cobra.Command {
cmd.AddCommand(
newInitCommand(dockerCli),
newJoinCommand(dockerCli),
newJoinTokenCommand(dockerCli),
newUpdateCommand(dockerCli),
newLeaveCommand(dockerCli),
newInspectCommand(dockerCli),
newJoinTokenCommand(dockerCli),
)
return cmd
}