aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/stop.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/stop.go')
-rw-r--r--cmd/podman/stop.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/stop.go b/cmd/podman/stop.go
index c8f03a748..d2fa87730 100644
--- a/cmd/podman/stop.go
+++ b/cmd/podman/stop.go
@@ -32,12 +32,13 @@ var (
`
stopCommand = cli.Command{
- Name: "stop",
- Usage: "Stop one or more containers",
- Description: stopDescription,
- Flags: stopFlags,
- Action: stopCmd,
- ArgsUsage: "CONTAINER-NAME [CONTAINER-NAME ...]",
+ Name: "stop",
+ Usage: "Stop one or more containers",
+ Description: stopDescription,
+ Flags: stopFlags,
+ Action: stopCmd,
+ ArgsUsage: "CONTAINER-NAME [CONTAINER-NAME ...]",
+ OnUsageError: usageErrorHandler,
}
)