aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/outdated.rb
diff options
context:
space:
mode:
authorUladzislau Shablinski2016-08-06 17:08:35 +0300
committerXu Cheng2016-08-06 22:08:35 +0800
commitb8ce1fe1b2abfc6b38a6c6451ef8074f2a83a8eb (patch)
tree9861927ad5f8f751d45d5e1f5be539db9432bf19 /Library/Homebrew/cmd/outdated.rb
parent072e5df4ed3afb0ca6a7bbd8e869d9ff8e5f8d73 (diff)
downloadbrew-b8ce1fe1b2abfc6b38a6c6451ef8074f2a83a8eb.tar.bz2
Update upgrade/outdated documentation (#650)
Diffstat (limited to 'Library/Homebrew/cmd/outdated.rb')
-rw-r--r--Library/Homebrew/cmd/outdated.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb
index 7e9364416..b0092a862 100644
--- a/Library/Homebrew/cmd/outdated.rb
+++ b/Library/Homebrew/cmd/outdated.rb
@@ -1,4 +1,4 @@
-#: * `outdated` [`--quiet`|`--verbose`|`--json=v1`]:
+#: * `outdated` [`--quiet`|`--verbose`|`--json=v1`] [`--fetch-HEAD`]:
#: Show formulae that have an updated version available.
#:
#: By default, version information is displayed in interactive shells, and
@@ -11,6 +11,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.
require "formula"
require "keg"