cmd/cleanup: add desc about all to --prune
This commit is contained in:
parent
bca4804a9e
commit
b4df0d5c10
@ -22,7 +22,8 @@ module Homebrew
|
|||||||
#{days} days old. This can be adjusted with `HOMEBREW_CLEANUP_MAX_AGE_DAYS`.
|
#{days} days old. This can be adjusted with `HOMEBREW_CLEANUP_MAX_AGE_DAYS`.
|
||||||
EOS
|
EOS
|
||||||
flag "--prune=",
|
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",
|
switch "-n", "--dry-run",
|
||||||
description: "Show what would be removed, but do not actually remove anything."
|
description: "Show what would be removed, but do not actually remove anything."
|
||||||
switch "-s",
|
switch "-s",
|
||||||
|
|||||||
@ -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`.
|
120 days old. This can be adjusted with `HOMEBREW_CLEANUP_MAX_AGE_DAYS`.
|
||||||
|
|
||||||
* `--prune`:
|
* `--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`:
|
* `-n`, `--dry-run`:
|
||||||
Show what would be removed, but do not actually remove anything.
|
Show what would be removed, but do not actually remove anything.
|
||||||
* `-s`:
|
* `-s`:
|
||||||
|
|||||||
@ -68,7 +68,7 @@ Remove stale lock files and outdated downloads for all formulae and casks, and r
|
|||||||
.
|
.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-prune\fR
|
\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
|
.TP
|
||||||
\fB\-n\fR, \fB\-\-dry\-run\fR
|
\fB\-n\fR, \fB\-\-dry\-run\fR
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user