summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorAdrian Reber <areber@redhat.com>2019-02-26 16:31:13 +0000
committerAdrian Reber <adrian@lisas.de>2019-02-26 17:33:17 +0100
commitf5b72b8c44cbfb2b5506e3177219c65e46bc1f1a (patch)
treed299b80ff90faf6318ea3855df1cac94324010fe /cmd/podman
parent0e252f043707fe4ca556751ee9b23243ce22e3f3 (diff)
downloadpodman-f5b72b8c44cbfb2b5506e3177219c65e46bc1f1a.tar.gz
podman-f5b72b8c44cbfb2b5506e3177219c65e46bc1f1a.tar.bz2
podman-f5b72b8c44cbfb2b5506e3177219c65e46bc1f1a.zip
Fix podman logs -l
'podman logs -l' was no longer working. This fixes it by replacing &waitCommand.Latest with &logsCommand.Latest. Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'cmd/podman')
-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")