GH-17413: Add --scrub flag alias to cleanup command

This commit is contained in:
Garrit Franke 2024-06-03 10:49:23 +02:00
parent e130e47f23
commit a4e10d9e1c
No known key found for this signature in database
GPG Key ID: A28BC0D6B31A2673

View File

@ -20,7 +20,7 @@ module Homebrew
"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",
switch "-s", "--scrub",
description: "Scrub the cache, including downloads for even the latest versions. " \
"Note that downloads for any installed formulae or casks will still not be deleted. " \
"If you want to delete those too: `rm -rf \"$(brew --cache)\"`"