From b4df0d5c10a2b3ca984ff054d5b2fdd95f182515 Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Fri, 22 Jan 2021 20:53:48 +0900 Subject: [PATCH] cmd/cleanup: add desc about all to --prune --- Library/Homebrew/cmd/cleanup.rb | 3 ++- docs/Manpage.md | 2 +- manpages/brew.1 | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 290bac0618..424762d867 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -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 ." + description: "Remove all cache files older than specified . "\ + "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", diff --git a/docs/Manpage.md b/docs/Manpage.md index 7061af5693..1e78eb10b6 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -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`: diff --git a/manpages/brew.1 b/manpages/brew.1 index 3734944d13..1e22d6183a 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -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