aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli/update.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-12-30 18:00:11 +0100
committerGitHub2016-12-30 18:00:11 +0100
commite2689a697cd892910fd9bbdbae38d1dd67cf426b (patch)
tree973f52b0081d8c57c642ca0049d994680cdb4f99 /Library/Homebrew/cask/lib/hbc/cli/update.rb
parentc087c530ae16af05fcc8598c8f3515f3de7d9e33 (diff)
parentc31f959ec1955999d4be4446914eaab2e715058a (diff)
downloadbrew-e2689a697cd892910fd9bbdbae38d1dd67cf426b.tar.bz2
Merge pull request #1690 from reitermarkus/brew-cask-update
Deprecate `brew cask update`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli/update.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/update.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/update.rb b/Library/Homebrew/cask/lib/hbc/cli/update.rb
deleted file mode 100644
index 86d02bb55..000000000
--- a/Library/Homebrew/cask/lib/hbc/cli/update.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-module Hbc
- class CLI
- class Update < Base
- def self.run(*_ignored)
- result = SystemCommand.run(HOMEBREW_BREW_FILE,
- args: ["update"])
- # TODO: separating stderr/stdout is undesirable here.
- # Hbc::SystemCommand should have an option for plain
- # unbuffered output.
- print result.stdout
- $stderr.print result.stderr
- exit result.exit_status
- end
-
- def self.help
- "a synonym for 'brew update'"
- end
- end
- end
-end