aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2016-12-30 16:46:27 +0100
committerMarkus Reiter2016-12-30 16:46:27 +0100
commitc31f959ec1955999d4be4446914eaab2e715058a (patch)
tree7c1136b98d8acc685f0a81399b6ef6942df10eca /Library
parentcea1d18f45608dda5d3185659b790df1c5d1b4e7 (diff)
downloadbrew-c31f959ec1955999d4be4446914eaab2e715058a.tar.bz2
Hide `update` from `brew cask help`.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/compat/hbc/cli/update.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/hbc/cli/update.rb b/Library/Homebrew/compat/hbc/cli/update.rb
index 80f961228..7820997cb 100644
--- a/Library/Homebrew/compat/hbc/cli/update.rb
+++ b/Library/Homebrew/compat/hbc/cli/update.rb
@@ -11,8 +11,12 @@ module Hbc
exit result.exit_status
end
+ def self.visible
+ false
+ end
+
def self.help
- Formatter.warning("deprecated: use `brew update` instead")
+ "a synonym for 'brew update'"
end
end
end