|
@@ -1693,7 +1693,7 @@ func (cli *DockerCli) CmdLogs(args ...string) error {
|
|
cmd = cli.Subcmd("logs", "CONTAINER", "Fetch the logs of a container")
|
|
cmd = cli.Subcmd("logs", "CONTAINER", "Fetch the logs of a container")
|
|
follow = cmd.Bool([]string{"f", "-follow"}, false, "Follow log output")
|
|
follow = cmd.Bool([]string{"f", "-follow"}, false, "Follow log output")
|
|
times = cmd.Bool([]string{"t", "-timestamps"}, false, "Show timestamps")
|
|
times = cmd.Bool([]string{"t", "-timestamps"}, false, "Show timestamps")
|
|
- tail = cmd.String([]string{"-tail"}, "all", "Output the specified number of lines at the end of logs(all logs by default)")
|
|
|
|
|
|
+ tail = cmd.String([]string{"-tail"}, "all", "Output the specified number of lines at the end of logs (defaults to all logs)")
|
|
)
|
|
)
|
|
|
|
|
|
if err := cmd.Parse(args); err != nil {
|
|
if err := cmd.Parse(args); err != nil {
|