Merge pull request #10301 from hyuraku/cmd/cleanup_add_desc_about_all_to_prune
cmd/cleanup: add description about all to --prune
This commit is contained in:
commit
2268e774a4
@ -20,7 +20,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",
|
||||
|
||||
@ -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`:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user