summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-logs.1.md
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2020-11-10 14:59:34 +0100
committerPaul Holzinger <paul.holzinger@web.de>2020-11-10 15:27:08 +0100
commit52a869470530f3c6bf7820a2b63fa9e17f227a16 (patch)
tree84d2940f763b124c75dd124aecbf76ff3707f140 /docs/source/markdown/podman-logs.1.md
parentda01191aa3526e3a77d9a055e23c318c26720785 (diff)
downloadpodman-52a869470530f3c6bf7820a2b63fa9e17f227a16.tar.gz
podman-52a869470530f3c6bf7820a2b63fa9e17f227a16.tar.bz2
podman-52a869470530f3c6bf7820a2b63fa9e17f227a16.zip
Add anchors for flag names on docs.podman.io
Change the docs markdown so that flag names will be h4 headers. Sphinx will automatically add anchors to headers. Add css to make sure the flag names are not to big compared to the text. The man pages also still renders fine but it looks a bit different. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'docs/source/markdown/podman-logs.1.md')
-rw-r--r--docs/source/markdown/podman-logs.1.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/source/markdown/podman-logs.1.md b/docs/source/markdown/podman-logs.1.md
index bcfc0bae8..bd8a01840 100644
--- a/docs/source/markdown/podman-logs.1.md
+++ b/docs/source/markdown/podman-logs.1.md
@@ -15,7 +15,7 @@ any logs at the time you execute podman logs).
## OPTIONS
-**--follow**, **-f**
+#### **--follow**, **-f**
Follow log output. Default is false.
@@ -23,7 +23,7 @@ Note: If you are following a container which is removed `podman container rm`
or removed on exit `podman run --rm ...`, then there is a chance the the log
file will be removed before `podman logs` reads the final content.
-**--latest**, **-l**
+#### **--latest**, **-l**
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
to run containers such as CRI-O, the last started container could be from either of those methods.
@@ -34,19 +34,19 @@ The latest option is not supported on the remote client.
Output the container name in the log
-**--since**=*TIMESTAMP*
+#### **--since**=*TIMESTAMP*
Show logs since TIMESTAMP. The --since option can be Unix timestamps, date formatted timestamps, or Go duration
strings (e.g. 10m, 1h30m) computed relative to the client machine's time. Supported formats for date formatted
time stamps include RFC3339Nano, RFC3339, 2006-01-02T15:04:05, 2006-01-02T15:04:05.999999999, 2006-01-02Z07:00,
and 2006-01-02.
-**--tail**=*LINES*
+#### **--tail**=*LINES*
Output the specified number of LINES at the end of the logs. LINES must be an integer. Defaults to -1,
which prints all lines
-**--timestamps**, **-t**
+#### **--timestamps**, **-t**
Show timestamps in the log outputs. The default is false