From 675a202a1b560fdc08a489b37e6765a2b8cc4dd0 Mon Sep 17 00:00:00 2001 From: TomSweeneyRedHat Date: Mon, 18 Feb 2019 16:55:08 -0500 Subject: Fifth chunk of Cobra Examples Signed-off-by: TomSweeneyRedHat 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 --- cmd/podman/port.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmd/podman/port.go') diff --git a/cmd/podman/port.go b/cmd/podman/port.go index be84da065..581371e4f 100644 --- a/cmd/podman/port.go +++ b/cmd/podman/port.go @@ -28,7 +28,9 @@ var ( portCommand.GlobalFlags = MainGlobalOpts return portCmd(&portCommand) }, - Example: "CONTAINER-NAME [mapping]", + Example: `podman port --all + podman port ctrID 80/tcp + podman port --latest 80`, } ) -- cgit v1.2.3-54-g00ecf