diff --git a/api/client/commands.go b/api/client/commands.go index 7d1f6e7002..7cc2582b89 100644 --- a/api/client/commands.go +++ b/api/client/commands.go @@ -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) diff --git a/docs/man/docker-stats.1.md b/docs/man/docker-stats.1.md index 968babab53..7e4c638317 100644 --- a/docs/man/docker-stats.1.md +++ b/docs/man/docker-stats.1.md @@ -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 diff --git a/docs/sources/reference/commandline/cli.md b/docs/sources/reference/commandline/cli.md index 4b257ae776..27f9299a81 100644 --- a/docs/sources/reference/commandline/cli.md +++ b/docs/sources/reference/commandline/cli.md @@ -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