aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/port.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-19 19:48:05 +0100
committerGitHub <noreply@github.com>2019-02-19 19:48:05 +0100
commit82ae36c15726a4adb3242938ed2396be30bd479a (patch)
treec083d8e599ac24abb298597de8dd7c0ee41e54d8 /cmd/podman/port.go
parent10ffa3ff82ff28e7761c23cda5a5c16d83e0d0ce (diff)
parent675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (diff)
downloadpodman-82ae36c15726a4adb3242938ed2396be30bd479a.tar.gz
podman-82ae36c15726a4adb3242938ed2396be30bd479a.tar.bz2
podman-82ae36c15726a4adb3242938ed2396be30bd479a.zip
Merge pull request #2363 from TomSweeneyRedHat/dev/tsweeney/cobraex5
Fifth chunk of Cobra Examples
Diffstat (limited to 'cmd/podman/port.go')
-rw-r--r--cmd/podman/port.go4
1 files changed, 3 insertions, 1 deletions
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`,
}
)