mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10779 from duglin/10771-FixStatsHelp
Fix 'docker stats' help message
This commit is contained in:
commit
9054e4dca3
3 changed files with 3 additions and 3 deletions
|
@ -2701,7 +2701,7 @@ func (s *containerStats) Display(w io.Writer) 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)
|
||||
utils.ParseFlags(cmd, args, true)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ docker-stats - Display a live stream of one or more containers' resource usage s
|
|||
# SYNOPSIS
|
||||
**docker stats**
|
||||
[**--help**]
|
||||
[CONTAINERS]
|
||||
CONTAINER [CONTAINER...]
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
|
|
|
@ -2014,7 +2014,7 @@ more details on finding shared images from the command line.
|
|||
|
||||
## stats
|
||||
|
||||
Usage: docker stats [CONTAINERS]
|
||||
Usage: docker stats CONTAINER [CONTAINER...]
|
||||
|
||||
Display a live stream of one or more containers' resource usage statistics
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue