From 52a869470530f3c6bf7820a2b63fa9e17f227a16 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 10 Nov 2020 14:59:34 +0100 Subject: 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 --- docs/source/markdown/podman-logs.1.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/source/markdown/podman-logs.1.md') 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 -- cgit v1.2.3-54-g00ecf