1
0
Fork 0
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:
Jessie Frazelle 2015-02-16 11:18:58 -08:00
commit 9054e4dca3
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

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