diff options
author | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-18 16:55:08 -0500 |
---|---|---|
committer | TomSweeneyRedHat <tsweeney@redhat.com> | 2019-02-18 19:37:09 -0500 |
commit | 675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (patch) | |
tree | 90759430ee69ce79f41679daf7fea104cf014c84 /cmd/podman/logs.go | |
parent | 228d1cbcd372b086669e35c1237fc5064b24ea7d (diff) | |
download | podman-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.go | 4 |
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`, } ) |