Add the OPTIONS and Fix the links for contain prune

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
yuexiao-wang 2016-10-10 23:07:32 +08:00
parent bac97fa059
commit 6396c62fdc
8 changed files with 11 additions and 11 deletions

View File

@ -21,7 +21,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
var opts pruneOptions var opts pruneOptions
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "prune", Use: "prune [OPTIONS]",
Short: "Remove all stopped containers", Short: "Remove all stopped containers",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {

View File

@ -22,7 +22,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
var opts pruneOptions var opts pruneOptions
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "prune", Use: "prune [OPTIONS]",
Short: "Remove unused images", Short: "Remove unused images",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {

View File

@ -20,7 +20,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
var opts pruneOptions var opts pruneOptions
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "prune [COMMAND]", Use: "prune [OPTIONS]",
Short: "Remove unused data.", Short: "Remove unused data.",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {

View File

@ -21,7 +21,7 @@ func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command {
var opts pruneOptions var opts pruneOptions
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "prune", Use: "prune [OPTIONS]",
Short: "Remove all unused volumes", Short: "Remove all unused volumes",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {

View File

@ -11,7 +11,7 @@ parent = "smn_cli"
# container prune # container prune
```markdown ```markdown
Usage: docker container prune Usage: docker container prune [OPTIONS]
Remove all stopped containers Remove all stopped containers
@ -20,7 +20,7 @@ Options:
--help Print usage --help Print usage
``` ```
Example output: ## Examples
```bash ```bash
$ docker container prune $ docker container prune
@ -36,6 +36,6 @@ Total reclaimed space: 212 B
## Related information ## Related information
* [system df](system_df.md) * [system df](system_df.md)
* [volume prune](container_prune.md) * [volume prune](volume_prune.md)
* [image prune](container_prune.md) * [image prune](image_prune.md)
* [system prune](system_prune.md) * [system prune](system_prune.md)

View File

@ -11,7 +11,7 @@ parent = "smn_cli"
# image prune # image prune
```markdown ```markdown
Usage: docker image prune Usage: docker image prune [OPTIONS]
Remove unused images Remove unused images

View File

@ -11,7 +11,7 @@ parent = "smn_cli"
# system prune # system prune
```markdown ```markdown
Usage: docker system prune COMMAND Usage: docker system prune [OPTIONS]
Delete unused data Delete unused data

View File

@ -11,7 +11,7 @@ parent = "smn_cli"
# volume prune # volume prune
```markdown ```markdown
Usage: docker volume prune Usage: docker volume prune [OPTIONS]
Remove all unused volumes Remove all unused volumes