Merge pull request #17414 from garritfra/feature/cleanup-scrub-alias

Add `--scrub` flag alias to cleanup command
This commit is contained in:
Mike McQuaid 2024-06-03 12:51:23 +01:00 committed by GitHub
commit 26a87c08f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)\"`"