From 18bf5a74a8365a990240e3931446b2a13dbbacde Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Sat, 12 Dec 2015 18:47:42 +0100 Subject: cleanup: consistently document --dry-run option All other commands document both `--dry-run` and `-n` in the option description and mention only `--dry-run` in the command summary. Let's do the same for `cleanup`. Closes Homebrew/homebrew#46942. Signed-off-by: Martin Afanasjew --- Library/Homebrew/manpages/brew.1.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/manpages/brew.1.md b/Library/Homebrew/manpages/brew.1.md index 0e70f4f55..1e15e115b 100644 --- a/Library/Homebrew/manpages/brew.1.md +++ b/Library/Homebrew/manpages/brew.1.md @@ -55,7 +55,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note * `cat` : Display the source to . - * `cleanup` [`--force`] [`--prune=`] [`-n`] [`-s`] []: + * `cleanup` [`--force`] [`--prune=`] [`--dry-run`] [`-s`] []: For all installed or specific formulae, remove any older versions from the cellar. By default, does not remove out-of-date keg-only brews, as other software may link directly to specific versions. In addition, old downloads from @@ -65,7 +65,8 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note If `--prune=` is specified, remove all cache files older than . - If `-n` is passed, show what would be removed, but do not actually remove anything. + If `--dry-run` or `-n` is passed, show what would be removed, but do not + actually remove anything. If `-s` is passed, scrubs the cache, removing downloads for even the latest versions of formulae. Note downloads for any installed formulae will still not be -- cgit v1.2.3