summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-26 18:29:44 +0100
committerGitHub <noreply@github.com>2019-02-26 18:29:44 +0100
commit7c27c44629903d7b8fece512971ec6c255b54da5 (patch)
treed299b80ff90faf6318ea3855df1cac94324010fe
parent0e252f043707fe4ca556751ee9b23243ce22e3f3 (diff)
parentf5b72b8c44cbfb2b5506e3177219c65e46bc1f1a (diff)
downloadpodman-7c27c44629903d7b8fece512971ec6c255b54da5.tar.gz
podman-7c27c44629903d7b8fece512971ec6c255b54da5.tar.bz2
podman-7c27c44629903d7b8fece512971ec6c255b54da5.zip
Merge pull request #2444 from adrianreber/logs
Fix podman logs -l
-rw-r--r--cmd/podman/logs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/logs.go b/cmd/podman/logs.go
index 97d835d8f..40ae2c846 100644
--- a/cmd/podman/logs.go
+++ b/cmd/podman/logs.go
@@ -38,7 +38,7 @@ func init() {
flags := logsCommand.Flags()
flags.BoolVar(&logsCommand.Details, "details", false, "Show extra details provided to the logs")
flags.BoolVarP(&logsCommand.Follow, "follow", "f", false, "Follow log output. The default is false")
- flags.BoolVarP(&waitCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
+ flags.BoolVarP(&logsCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
flags.StringVar(&logsCommand.Since, "since", "", "Show logs since TIMESTAMP")
flags.Uint64Var(&logsCommand.Tail, "tail", 0, "Output the specified number of LINES at the end of the logs. Defaults to 0, which prints all lines")
flags.BoolVarP(&logsCommand.Timestamps, "timestamps", "t", false, "Output the timestamps in the log")