summaryrefslogtreecommitdiff
path: root/cmd/podman/ps.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/ps.go')
-rw-r--r--cmd/podman/ps.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/ps.go b/cmd/podman/ps.go
index 0b59b24b7..07e3bb676 100644
--- a/cmd/podman/ps.go
+++ b/cmd/podman/ps.go
@@ -186,6 +186,7 @@ var (
Action: psCmd,
ArgsUsage: "",
UseShortOptionHandling: true,
+ OnUsageError: usageErrorHandler,
}
lsCommand = cli.Command{
Name: "ls",
@@ -195,6 +196,7 @@ var (
Action: psCmd,
ArgsUsage: "",
UseShortOptionHandling: true,
+ OnUsageError: usageErrorHandler,
}
)