mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
fix help for url; formatting
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
24
commands.go
24
commands.go
@@ -172,7 +172,7 @@ var Commands = []cli.Command{
|
||||
},
|
||||
{
|
||||
Name: "config",
|
||||
Usage: "Print the connection config for machine",
|
||||
Usage: "Print the connection config for machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdConfig,
|
||||
Flags: []cli.Flag{
|
||||
cli.BoolFlag{
|
||||
@@ -183,17 +183,17 @@ var Commands = []cli.Command{
|
||||
},
|
||||
{
|
||||
Name: "inspect",
|
||||
Usage: "Inspect information about a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Inspect information about a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdInspect,
|
||||
},
|
||||
{
|
||||
Name: "ip",
|
||||
Usage: "Get the IP address of a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Get the IP address of a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdIp,
|
||||
},
|
||||
{
|
||||
Name: "kill",
|
||||
Usage: "Kill a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Kill a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdKill,
|
||||
},
|
||||
{
|
||||
@@ -209,7 +209,7 @@ var Commands = []cli.Command{
|
||||
},
|
||||
{
|
||||
Name: "restart",
|
||||
Usage: "Restart a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Restart a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdRestart,
|
||||
},
|
||||
{
|
||||
@@ -220,7 +220,7 @@ var Commands = []cli.Command{
|
||||
},
|
||||
},
|
||||
Name: "rm",
|
||||
Usage: "Remove a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Remove a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdRm,
|
||||
},
|
||||
{
|
||||
@@ -236,27 +236,27 @@ var Commands = []cli.Command{
|
||||
},
|
||||
{
|
||||
Name: "ssh",
|
||||
Usage: "Log into or run a command on a machine with SSH. Arguments are [machine-name] command. Will use the active machine if none is provided.",
|
||||
Usage: "Log into or run a command on a machine with SSH. Arguments are [machine-name] command. Will use the active machine if none is provided.",
|
||||
Action: cmdSsh,
|
||||
},
|
||||
{
|
||||
Name: "start",
|
||||
Usage: "Start a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Start a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdStart,
|
||||
},
|
||||
{
|
||||
Name: "stop",
|
||||
Usage: "Stop a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Stop a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdStop,
|
||||
},
|
||||
{
|
||||
Name: "upgrade",
|
||||
Usage: "Upgrade a machine to the latest version of Docker. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Upgrade a machine to the latest version of Docker. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdUpgrade,
|
||||
},
|
||||
{
|
||||
Name: "url. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Usage: "Get the URL of a machine",
|
||||
Name: "url",
|
||||
Usage: "Get the URL of a machine. Argument is a machine name. Will use the active machine if none is provided.",
|
||||
Action: cmdUrl,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user