aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-08-12 12:43:38 +0100
committerGitHub2017-08-12 12:43:38 +0100
commita757f438957f6e9b7f6c7f9c46753a6580a9f2b7 (patch)
tree7294af9f24467d157ee33a251b30b33a5348afda /Library
parenta1e3c54bc89bd7b33e1f6aa76544c9bd4364be86 (diff)
parent0e3f1ab27337338c19996a15e8f1e3b72ec270f1 (diff)
downloadbrew-a757f438957f6e9b7f6c7f9c46753a6580a9f2b7.tar.bz2
Merge pull request #3043 from MikeMcQuaid/pin-upgrade
Note cases when pinned formulae get upgraded.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/pin.rb3
-rw-r--r--Library/Homebrew/cmd/unpin.rb4
2 files changed, 4 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/pin.rb b/Library/Homebrew/cmd/pin.rb
index c5087f6d4..5a14f853c 100644
--- a/Library/Homebrew/cmd/pin.rb
+++ b/Library/Homebrew/cmd/pin.rb
@@ -1,6 +1,7 @@
#: * `pin` <formulae>:
#: Pin the specified <formulae>, preventing them from being upgraded when
-#: issuing the `brew upgrade` command. See also `unpin`.
+#: issuing the `brew upgrade <formulae>` command (but can still be upgraded
+#: as dependencies for other formulae). See also `unpin`.
require "formula"
diff --git a/Library/Homebrew/cmd/unpin.rb b/Library/Homebrew/cmd/unpin.rb
index a669df1ec..e15a156ea 100644
--- a/Library/Homebrew/cmd/unpin.rb
+++ b/Library/Homebrew/cmd/unpin.rb
@@ -1,6 +1,6 @@
#: * `unpin` <formulae>:
-#: Unpin <formulae>, allowing them to be upgraded by `brew upgrade`. See also
-#: `pin`.
+#: Unpin <formulae>, allowing them to be upgraded by `brew upgrade <formulae>`.
+#: See also `pin`.
require "formula"