Sorting commands in alphabetical order

Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
This commit is contained in:
Dave Henderson 2015-04-26 14:26:18 -04:00
parent 30ae863a4b
commit 5b6cbe226d
1 changed files with 19 additions and 19 deletions

View File

@ -197,6 +197,18 @@ var Commands = []cli.Command{
Usage: "Get or set the active machine",
Action: cmdActive,
},
{
Name: "config",
Usage: "Print the connection config for machine",
Description: "Argument is a machine name. Will use the active machine if none is provided.",
Action: cmdConfig,
Flags: []cli.Flag{
cli.BoolFlag{
Name: "swarm",
Usage: "Display the Swarm config instead of the Docker daemon",
},
},
},
{
Flags: append(
drivers.GetCreateFlags(),
@ -207,15 +219,19 @@ var Commands = []cli.Command{
Action: cmdCreate,
},
{
Name: "config",
Usage: "Print the connection config for machine",
Name: "env",
Usage: "Display the commands to set up the environment for the Docker client",
Description: "Argument is a machine name. Will use the active machine if none is provided.",
Action: cmdConfig,
Action: cmdEnv,
Flags: []cli.Flag{
cli.BoolFlag{
Name: "swarm",
Usage: "Display the Swarm config instead of the Docker daemon",
},
cli.BoolFlag{
Name: "unset, u",
Usage: "Unset variables instead of setting them",
},
},
},
{
@ -284,22 +300,6 @@ var Commands = []cli.Command{
Description: "Argument(s) are one or more machine names.",
Action: cmdRm,
},
{
Name: "env",
Usage: "Display the commands to set up the environment for the Docker client",
Description: "Argument is a machine name. Will use the active machine if none is provided.",
Action: cmdEnv,
Flags: []cli.Flag{
cli.BoolFlag{
Name: "swarm",
Usage: "Display the Swarm config instead of the Docker daemon",
},
cli.BoolFlag{
Name: "unset, u",
Usage: "Unset variables instead of setting them",
},
},
},
{
Name: "ssh",
Usage: "Log into or run a command on a machine with SSH",