diff --git a/components/cli/command/container/prune.go b/components/cli/command/container/prune.go index 13e283a8b2..7088038614 100644 --- a/components/cli/command/container/prune.go +++ b/components/cli/command/container/prune.go @@ -21,7 +21,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command { var opts pruneOptions cmd := &cobra.Command{ - Use: "prune", + Use: "prune [OPTIONS]", Short: "Remove all stopped containers", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/components/cli/command/image/prune.go b/components/cli/command/image/prune.go index 6944664a54..e5ad573130 100644 --- a/components/cli/command/image/prune.go +++ b/components/cli/command/image/prune.go @@ -22,7 +22,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command { var opts pruneOptions cmd := &cobra.Command{ - Use: "prune", + Use: "prune [OPTIONS]", Short: "Remove unused images", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/components/cli/command/system/prune.go b/components/cli/command/system/prune.go index 4a9e952ada..6a36fdd890 100644 --- a/components/cli/command/system/prune.go +++ b/components/cli/command/system/prune.go @@ -20,7 +20,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command { var opts pruneOptions cmd := &cobra.Command{ - Use: "prune [COMMAND]", + Use: "prune [OPTIONS]", Short: "Remove unused data.", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { diff --git a/components/cli/command/volume/prune.go b/components/cli/command/volume/prune.go index 59f3c94635..dc2d3e25bc 100644 --- a/components/cli/command/volume/prune.go +++ b/components/cli/command/volume/prune.go @@ -21,7 +21,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command { var opts pruneOptions cmd := &cobra.Command{ - Use: "prune", + Use: "prune [OPTIONS]", Short: "Remove all unused volumes", Args: cli.NoArgs, RunE: func(cmd *cobra.Command, args []string) error {