aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/logs.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/logs.go')
-rw-r--r--cmd/podman/logs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/podman/logs.go b/cmd/podman/logs.go
index 291347adb..4bb26cd07 100644
--- a/cmd/podman/logs.go
+++ b/cmd/podman/logs.go
@@ -55,7 +55,7 @@ func init() {
flags.StringVar(&logsCommand.Since, "since", "", "Show logs since TIMESTAMP")
flags.Int64Var(&logsCommand.Tail, "tail", -1, "Output the specified number of LINES at the end of the logs. Defaults to -1, which prints all lines")
flags.BoolVarP(&logsCommand.Timestamps, "timestamps", "t", false, "Output the timestamps in the log")
- flags.BoolVarP(&logsCommand.UseNames, "names", "n", false, "Output the container name in the log")
+ flags.BoolVarP(&logsCommand.UseName, "names", "n", false, "Output the container name in the log")
markFlagHidden(flags, "details")
flags.SetInterspersed(false)
@@ -87,7 +87,7 @@ func logsCmd(c *cliconfig.LogsValues) error {
Since: sinceTime,
Tail: c.Tail,
Timestamps: c.Timestamps,
- UseNames: c.UseNames,
+ UseName: c.UseName,
}
return runtime.Log(c, options)
}