From 7fa9c0e9778d50f88ff7cf8ac18c7f198fd9c9fd Mon Sep 17 00:00:00 2001 From: Vlad Shablinsky Date: Thu, 11 Aug 2016 09:28:29 +0200 Subject: Update --fetch-HEAD documentation --- Library/Homebrew/cmd/outdated.rb | 7 ++++--- Library/Homebrew/cmd/upgrade.rb | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index b0092a862..e421b2481 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -12,9 +12,10 @@ #: If `--json=` is passed, the output will be in JSON format. The only #: valid version is `v1`. #: -#: If `--fetch-HEAD` is passed, fetch upstream repository to detect that HEAD -#: formula is outdated. Otherwise HEAD-installation is considered outdated if -#: new stable or devel version is bumped after that installation. +#: If `--fetch-HEAD` is passed, fetch the upstream repository to detect if +#: the HEAD installation of the formula is outdated. Otherwise, the +#: repository's HEAD will be checked for updates when a new stable or devel +#: version has been released. require "formula" require "keg" diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 2306e9061..d0fa180ce 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -5,9 +5,10 @@ #: #: If `--cleanup` is specified then remove previously installed version(s). #: -#: If `--fetch-HEAD` is passed, fetch upstream repository to detect that HEAD -#: formula is outdated. Otherwise HEAD-installation is considered outdated if -#: new stable or devel version is bumped after that installation. +#: If `--fetch-HEAD` is passed, fetch the upstream repository to detect if +#: the HEAD installation of the formula is outdated. Otherwise, the +#: repository's HEAD will be checked for updates when a new stable or devel +#: version has been released. #: #: If are given, upgrade only the specified brews (but do so even #: if they are pinned; see `pin`, `unpin`). -- cgit v1.2.3