summaryrefslogtreecommitdiff
path: root/cmd/podman/push.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/push.go')
-rw-r--r--cmd/podman/push.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/push.go b/cmd/podman/push.go
index 79758257a..d9aa2246b 100644
--- a/cmd/podman/push.go
+++ b/cmd/podman/push.go
@@ -67,12 +67,13 @@ var (
See podman-push(1) section "DESTINATION" for the expected format`)
pushCommand = cli.Command{
- Name: "push",
- Usage: "Push an image to a specified destination",
- Description: pushDescription,
- Flags: pushFlags,
- Action: pushCmd,
- ArgsUsage: "IMAGE DESTINATION",
+ Name: "push",
+ Usage: "Push an image to a specified destination",
+ Description: pushDescription,
+ Flags: pushFlags,
+ Action: pushCmd,
+ ArgsUsage: "IMAGE DESTINATION",
+ OnUsageError: usageErrorHandler,
}
)