From fe0836b63736f808e5f32940f7423820d85414cf Mon Sep 17 00:00:00 2001 From: Brian Knight Date: Sat, 27 May 2017 21:04:17 -0400 Subject: [PATCH] Add prune to option list. Alphabetize order. --- website/source/docs/cli/box.html.md | 35 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/website/source/docs/cli/box.html.md b/website/source/docs/cli/box.html.md index c2da385d4..8ecede044 100644 --- a/website/source/docs/cli/box.html.md +++ b/website/source/docs/cli/box.html.md @@ -19,6 +19,7 @@ The main functionality of this command is exposed via even more subcommands: * `add` * `list` * `outdated` +* `prune` * `remove` * `repackage` * `update` @@ -125,6 +126,22 @@ a box. This generally requires an internet connection. * `--global` - Check for updates for all installed boxes, not just the boxes for the current Vagrant environment. +# Box Prune + +**Command: `vagrant box prune`** + +This command removes old versions of installed boxes. If the box in currently in use vagrant will ask you if you to confirm. + +## Options + +* `--provider PROVIDER` - The specific provider type for the boxes to destroy. + +* `--dry-run` - Only print the boxes that would be removed. + +* `--name NAME` - The specific box name to check for outdated versions. + +* `--force` - Destroy without confirmation even when box is in use. + # Box Remove **Command: `vagrant box remove NAME`** @@ -150,24 +167,6 @@ with the `--all` flag. name. This is only required if a box is backed by multiple providers. If there is only a single provider, Vagrant will default to removing it. - -# Box prune - -**Command: `vagrant box prune`** - -This command removes old versions of installed boxes. If the box in currently in use vagrant will ask you if you to confirm. - -## Options - -* `--provider PROVIDER` - The specific provider type for the boxes to destroy. - -* `--dry-run` - Only print the boxes that would be removed. - -* `--name NAME` - The specific box name to check for outdated versions. - -* `--force` - Destroy without confirmation even when box is in use. - - # Box Repackage **Command: `vagrant box repackage NAME PROVIDER VERSION`**