From 80bc9172264426bae397d9f5b449c231bd5f4aa4 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Mon, 10 Oct 2016 23:07:32 +0800 Subject: [PATCH] Add the OPTIONS and Fix the links for contain prune Signed-off-by: yuexiao-wang --- command/container/prune.go | 2 +- command/image/prune.go | 2 +- command/system/prune.go | 2 +- command/volume/prune.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/command/container/prune.go b/command/container/prune.go index 13e283a8b2..7088038614 100644 --- a/command/container/prune.go +++ b/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/command/image/prune.go b/command/image/prune.go index 6944664a54..e5ad573130 100644 --- a/command/image/prune.go +++ b/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/command/system/prune.go b/command/system/prune.go index 4a9e952ada..6a36fdd890 100644 --- a/command/system/prune.go +++ b/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/command/volume/prune.go b/command/volume/prune.go index 59f3c94635..dc2d3e25bc 100644 --- a/command/volume/prune.go +++ b/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 {