From 520b5a103ad251307b92403d28f74dc245769850 Mon Sep 17 00:00:00 2001 From: JBallin Date: Wed, 15 Aug 2018 09:53:20 -0700 Subject: [PATCH] Clarify that --cleanup only runs on formulae which were just upgraded --- Library/Homebrew/cmd/upgrade.rb | 2 +- docs/Manpage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 64674d8280..f170d1f220 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -4,7 +4,7 @@ #: Options for the `install` command are also valid here. #: #: If `--cleanup` is specified or `HOMEBREW_UPGRADE_CLEANUP` is set then remove -#: previously installed version(s). +#: previously installed version(s) of upgraded . #: #: If `--fetch-HEAD` is passed, fetch the upstream repository to detect if #: the HEAD installation of the formula is outdated. Otherwise, the diff --git a/docs/Manpage.md b/docs/Manpage.md index f343c2ca8a..d716efd57a 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -576,7 +576,7 @@ With `--verbose` or `-v`, many commands print extra debugging information. Note Options for the `install` command are also valid here. If `--cleanup` is specified or `HOMEBREW_UPGRADE_CLEANUP` is set then remove - previously installed `formulae` version(s). + previously installed version(s) of upgraded `formulae`. If `--fetch-HEAD` is passed, fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the