diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/outdated.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/upgrade.rb | 6 |
2 files changed, 10 insertions, 2 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" diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 1933c0501..2306e9061 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -1,10 +1,14 @@ -#: * `upgrade` [<install-options>] [`--cleanup`] [<formulae>]: +#: * `upgrade` [<install-options>] [`--cleanup`] [`--fetch-HEAD`] [<formulae>]: #: Upgrade outdated, unpinned brews. #: #: Options for the `install` command are also valid here. #: #: 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 <formulae> are given, upgrade only the specified brews (but do so even #: if they are pinned; see `pin`, `unpin`). |
