summaryrefslogtreecommitdiff
path: root/cmd/podman/logs.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 16:55:08 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 19:37:09 -0500
commit675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (patch)
tree90759430ee69ce79f41679daf7fea104cf014c84 /cmd/podman/logs.go
parent228d1cbcd372b086669e35c1237fc5064b24ea7d (diff)
downloadpodman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.gz
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.bz2
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.zip
Fifth chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> The fifth and final chunk of examples for the Cobra examples in the CLI help output. Also includes a few man page touchups. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/logs.go')
-rw-r--r--cmd/podman/logs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/logs.go b/cmd/podman/logs.go
index 6962a1f6d..4cf3b7cb8 100644
--- a/cmd/podman/logs.go
+++ b/cmd/podman/logs.go
@@ -26,7 +26,9 @@ var (
logsCommand.GlobalFlags = MainGlobalOpts
return logsCmd(&logsCommand)
},
- Example: "CONTAINER",
+ Example: `podman logs ctrID
+ podman logs --tail 2 mywebserver
+ podman logs --follow=true --since 10m ctrID`,
}
)