summaryrefslogtreecommitdiff
path: root/cmd/podman/commit.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/commit.go')
-rw-r--r--cmd/podman/commit.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/commit.go b/cmd/podman/commit.go
index 03210dc35..517eefd07 100644
--- a/cmd/podman/commit.go
+++ b/cmd/podman/commit.go
@@ -49,12 +49,13 @@ var (
set the commit message with the --message flag,
and make changes to the instructions with the --change flag.`
commitCommand = cli.Command{
- Name: "commit",
- Usage: "Create new image based on the changed container",
- Description: commitDescription,
- Flags: commitFlags,
- Action: commitCmd,
- ArgsUsage: "CONTAINER [REPOSITORY[:TAG]]",
+ Name: "commit",
+ Usage: "Create new image based on the changed container",
+ Description: commitDescription,
+ Flags: commitFlags,
+ Action: commitCmd,
+ ArgsUsage: "CONTAINER [REPOSITORY[:TAG]]",
+ OnUsageError: usageErrorHandler,
}
)