summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_stop.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_stop.go')
-rw-r--r--cmd/podman/pod_stop.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/pod_stop.go b/cmd/podman/pod_stop.go
index ac6781408..03d04a3ec 100644
--- a/cmd/podman/pod_stop.go
+++ b/cmd/podman/pod_stop.go
@@ -24,12 +24,13 @@ var (
`
podStopCommand = cli.Command{
- Name: "stop",
- Usage: "Stop one or more pods",
- Description: podStopDescription,
- Flags: podStopFlags,
- Action: podStopCmd,
- ArgsUsage: "POD-NAME [POD-NAME ...]",
+ Name: "stop",
+ Usage: "Stop one or more pods",
+ Description: podStopDescription,
+ Flags: podStopFlags,
+ Action: podStopCmd,
+ ArgsUsage: "POD-NAME [POD-NAME ...]",
+ OnUsageError: usageErrorHandler,
}
)