Browse code

Merge pull request #10779 from duglin/10771-FixStatsHelp

Fix 'docker stats' help message

Jessie Frazelle authored on 2015/02/17 04:18:58
Showing 3 changed files
... ...
@@ -2701,7 +2701,7 @@ func (s *containerStats) Display(w io.Writer) error {
2701 2701
 }
2702 2702
 
2703 2703
 func (cli *DockerCli) CmdStats(args ...string) error {
2704
-	cmd := cli.Subcmd("stats", "CONTAINER", "Display a live stream of one or more containers' resource usage statistics", true)
2704
+	cmd := cli.Subcmd("stats", "CONTAINER [CONTAINER...]", "Display a live stream of one or more containers' resource usage statistics", true)
2705 2705
 	cmd.Require(flag.Min, 1)
2706 2706
 	utils.ParseFlags(cmd, args, true)
2707 2707
 
... ...
@@ -7,7 +7,7 @@ docker-stats - Display a live stream of one or more containers' resource usage s
7 7
 # SYNOPSIS
8 8
 **docker stats**
9 9
 [**--help**]
10
-[CONTAINERS]
10
+CONTAINER [CONTAINER...]
11 11
 
12 12
 # DESCRIPTION
13 13
 
... ...
@@ -2014,7 +2014,7 @@ more details on finding shared images from the command line.
2014 2014
 
2015 2015
 ## stats
2016 2016
 
2017
-    Usage: docker stats [CONTAINERS]
2017
+    Usage: docker stats CONTAINER [CONTAINER...]
2018 2018
 
2019 2019
     Display a live stream of one or more containers' resource usage statistics
2020 2020