Fix 'docker stats' help message

Closes #10771

Signed-off-by: Doug Davis <dug@us.ibm.com>
Upstream-commit: b55346b3279a3243da8cab82a7ddc427454aba61
Component: engine
This commit is contained in:
Doug Davis
2015-02-13 12:09:56 -08:00
parent bebced9dfc
commit 79ea7dd989
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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

View File

@ -2023,7 +2023,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