From 40c6192e9e3da7f2f3f54365c89b4b837ed74fd8 Mon Sep 17 00:00:00 2001 From: Xueyuan Chen Date: Sat, 26 Feb 2022 23:07:25 +0100 Subject: Add the names flag for pod logs Fixes containers#13261 Signed-off-by: Xueyuan Chen --- docs/source/markdown/podman-pod-logs.1.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/source/markdown/podman-pod-logs.1.md b/docs/source/markdown/podman-pod-logs.1.md index 53aa5d58b..880853000 100644 --- a/docs/source/markdown/podman-pod-logs.1.md +++ b/docs/source/markdown/podman-pod-logs.1.md @@ -28,6 +28,10 @@ chance that the log file will be removed before `podman pod logs` reads the fina Instead of providing the pod name or id, get logs of the last created pod. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) +#### **--names**, **-n** + +Output the container names instead of the container IDs in the log. + #### **--since**=*TIMESTAMP* Show logs since TIMESTAMP. The --since option can be Unix timestamps, date formatted timestamps, or Go duration -- cgit v1.2.3-54-g00ecf