summaryrefslogtreecommitdiff
path: root/cmd/podman/port.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/port.go')
-rw-r--r--cmd/podman/port.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/port.go b/cmd/podman/port.go
index e3933f925..b7c88887a 100644
--- a/cmd/podman/port.go
+++ b/cmd/podman/port.go
@@ -26,12 +26,13 @@ var (
`
portCommand = cli.Command{
- Name: "port",
- Usage: "List port mappings or a specific mapping for the container",
- Description: portDescription,
- Flags: portFlags,
- Action: portCmd,
- ArgsUsage: "CONTAINER-NAME [mapping]",
+ Name: "port",
+ Usage: "List port mappings or a specific mapping for the container",
+ Description: portDescription,
+ Flags: portFlags,
+ Action: portCmd,
+ ArgsUsage: "CONTAINER-NAME [mapping]",
+ OnUsageError: usageErrorHandler,
}
)