From 664d4ed28c685487c4c9171cefd8d1245ea656b4 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 17 Feb 2024 13:36:25 -0500 Subject: [PATCH 1/2] Fix up example description of podman-port.1.md.in Signed-off-by: Daniel J Walsh --- docs/source/markdown/podman-port.1.md.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/markdown/podman-port.1.md.in b/docs/source/markdown/podman-port.1.md.in index 45ac1bf128..8dfa8a2948 100644 --- a/docs/source/markdown/podman-port.1.md.in +++ b/docs/source/markdown/podman-port.1.md.in @@ -21,7 +21,7 @@ List all known port mappings for running containers; when using this option, con ## EXAMPLE -List all port mappings +List all port mappings: ``` # podman port -a b4d2f05432e482e017b1a4b2eae15fa7b4f6fb7e9f65c1bde46294fdef285906 @@ -30,21 +30,21 @@ b4d2f05432e482e017b1a4b2eae15fa7b4f6fb7e9f65c1bde46294fdef285906 # ``` -List port mappings for a specific container +List port mappings for a specific container: ``` # podman port b4d2f054 80/udp -> 0.0.0.0:44327 80/tcp -> 0.0.0.0:44327 # ``` -List the port mappings for the latest container and port 80 +List specified port mappings for specified container: ``` # podman port b4d2f054 80 0.0.0.0:44327 # ``` -List the port mappings for a specific container for port 80 and the tcp protocol. +List the port mappings for a specific container for port 80 and the tcp protocol: ``` # podman port b4d2f054 80/tcp 0.0.0.0:44327 From 408772d34aa8de18aad855a9cc69411a35da5ccd Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 20 Feb 2024 05:46:41 -0500 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Tom Sweeney Signed-off-by: Daniel J Walsh --- docs/source/markdown/podman-port.1.md.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/markdown/podman-port.1.md.in b/docs/source/markdown/podman-port.1.md.in index 8dfa8a2948..4dd10cbec3 100644 --- a/docs/source/markdown/podman-port.1.md.in +++ b/docs/source/markdown/podman-port.1.md.in @@ -37,7 +37,7 @@ List port mappings for a specific container: 80/tcp -> 0.0.0.0:44327 # ``` -List specified port mappings for specified container: +List the specified port mappings for a specific container: ``` # podman port b4d2f054 80 0.0.0.0:44327