diff options
Diffstat (limited to 'cmd/podman/stats.go')
-rw-r--r-- | cmd/podman/stats.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/stats.go b/cmd/podman/stats.go index 2d6a2a3d2..181f5376c 100644 --- a/cmd/podman/stats.go +++ b/cmd/podman/stats.go @@ -49,12 +49,13 @@ var ( statsDescription = "display a live stream of one or more containers' resource usage statistics" statsCommand = cli.Command{ - Name: "stats", - Usage: "Display percentage of CPU, memory, network I/O, block I/O and PIDs for one or more containers", - Description: statsDescription, - Flags: statsFlags, - Action: statsCmd, - ArgsUsage: "", + Name: "stats", + Usage: "Display percentage of CPU, memory, network I/O, block I/O and PIDs for one or more containers", + Description: statsDescription, + Flags: statsFlags, + Action: statsCmd, + ArgsUsage: "", + OnUsageError: usageErrorHandler, } ) |