Skip to content

Commit

Permalink
Merge pull request #17414 from garritfra/feature/cleanup-scrub-alias
Browse files Browse the repository at this point in the history
Add `--scrub` flag alias to cleanup command
  • Loading branch information
MikeMcQuaid authored Jun 3, 2024
2 parents e130e47 + a4e10d9 commit 26a87c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/cleanup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class CleanupCmd < AbstractCommand
"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)\"`"
Expand Down

0 comments on commit 26a87c0

Please sign in to comment.