summaryrefslogtreecommitdiff
path: root/cmd/podman/rmi.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/rmi.go')
-rw-r--r--cmd/podman/rmi.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/podman/rmi.go b/cmd/podman/rmi.go
index c1c3869c8..e29f32c7c 100644
--- a/cmd/podman/rmi.go
+++ b/cmd/podman/rmi.go
@@ -31,6 +31,7 @@ var (
ArgsUsage: "IMAGE-NAME-OR-ID [...]",
Flags: rmiFlags,
UseShortOptionHandling: true,
+ OnUsageError: usageErrorHandler,
}
rmImageCommand = cli.Command{
Name: "rm",
@@ -40,6 +41,7 @@ var (
ArgsUsage: "IMAGE-NAME-OR-ID [...]",
Flags: rmiFlags,
UseShortOptionHandling: true,
+ OnUsageError: usageErrorHandler,
}
)