mirror of
https://github.com/clearlinux/docker.git
synced 2026-11-21 05:23:06 +00:00
Merge pull request #10779 from duglin/10771-FixStatsHelp
Fix 'docker stats' help message
This commit is contained in:
@@ -2701,7 +2701,7 @@ func (s *containerStats) Display(w io.Writer) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (cli *DockerCli) CmdStats(args ...string) error {
|
func (cli *DockerCli) CmdStats(args ...string) error {
|
||||||
cmd := cli.Subcmd("stats", "CONTAINER", "Display a live stream of one or more containers' resource usage statistics", true)
|
cmd := cli.Subcmd("stats", "CONTAINER [CONTAINER...]", "Display a live stream of one or more containers' resource usage statistics", true)
|
||||||
cmd.Require(flag.Min, 1)
|
cmd.Require(flag.Min, 1)
|
||||||
utils.ParseFlags(cmd, args, true)
|
utils.ParseFlags(cmd, args, true)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ docker-stats - Display a live stream of one or more containers' resource usage s
|
|||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
**docker stats**
|
**docker stats**
|
||||||
[**--help**]
|
[**--help**]
|
||||||
[CONTAINERS]
|
CONTAINER [CONTAINER...]
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
|
|||||||
@@ -2014,7 +2014,7 @@ more details on finding shared images from the command line.
|
|||||||
|
|
||||||
## stats
|
## stats
|
||||||
|
|
||||||
Usage: docker stats [CONTAINERS]
|
Usage: docker stats CONTAINER [CONTAINER...]
|
||||||
|
|
||||||
Display a live stream of one or more containers' resource usage statistics
|
Display a live stream of one or more containers' resource usage statistics
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user