cmd/cleanup: add desc about all to --prune

This commit is contained in:
hyuraku 2021-01-22 20:53:48 +09:00
parent bca4804a9e
commit b4df0d5c10
3 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,8 @@ module Homebrew
#{days} days old. This can be adjusted with `HOMEBREW_CLEANUP_MAX_AGE_DAYS`.
EOS
flag "--prune=",
description: "Remove all cache files older than specified <days>."
description: "Remove all cache files older than specified <days>. "\
"If you want to remove everything, use `--prune=all`."
switch "-n", "--dry-run",
description: "Show what would be removed, but do not actually remove anything."
switch "-s",

View File

@ -77,7 +77,7 @@ only do this for the given formulae and casks. Removes all downloads more than
120 days old. This can be adjusted with `HOMEBREW_CLEANUP_MAX_AGE_DAYS`.
* `--prune`:
Remove all cache files older than specified *`days`*.
Remove all cache files older than specified *`days`*. If you want to remove everything, use `--prune=all`.
* `-n`, `--dry-run`:
Show what would be removed, but do not actually remove anything.
* `-s`:

View File

@ -68,7 +68,7 @@ Remove stale lock files and outdated downloads for all formulae and casks, and r
.
.TP
\fB\-\-prune\fR
Remove all cache files older than specified \fIdays\fR\.
Remove all cache files older than specified \fIdays\fR\. If you want to remove everything, use \fB\-\-prune=all\fR\.
.
.TP
\fB\-n\fR, \fB\-\-dry\-run\fR