aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-08-11 08:52:48 +0100
committerGitHub2016-08-11 08:52:48 +0100
commit080c4de957126355486046242c413bb728160524 (patch)
tree5d0dbb6d46ec0ee3f22fa79557929d4329049eac /Library
parent06fe347de97975dc01e726f87bf07a56a6fb713e (diff)
parent7fa9c0e9778d50f88ff7cf8ac18c7f198fd9c9fd (diff)
downloadbrew-080c4de957126355486046242c413bb728160524.tar.bz2
Merge pull request #685 from vladshablinsky/update-man-fetch-head
Update --fetch-HEAD documentation
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/outdated.rb7
-rw-r--r--Library/Homebrew/cmd/upgrade.rb7
2 files changed, 8 insertions, 6 deletions
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=`<version> 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 <formula> 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 <formulae> are given, upgrade only the specified brews (but do so even
#: if they are pinned; see `pin`, `unpin`).