aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/outdated.rb
diff options
context:
space:
mode:
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"