Add prune to option list. Alphabetize order.

This commit is contained in:
Brian Knight 2017-05-27 21:04:17 -04:00
parent 2995b60925
commit fe0836b637
1 changed files with 17 additions and 18 deletions

View File

@ -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`**