diff options
| author | Markus Reiter | 2017-05-19 19:59:26 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-05-22 02:51:16 +0200 |
| commit | a44d4ce88b6fb3deea8dc41be662583941d5c96d (patch) | |
| tree | 64729222f90fc00b6d6a0e7378dec005f9771444 /Library/Homebrew/cask/lib/hbc/cli.rb | |
| parent | 9e821863d0ed97254bbae314b97af18d2f09cdfa (diff) | |
| download | brew-a44d4ce88b6fb3deea8dc41be662583941d5c96d.tar.bz2 | |
Remove Cask’s `CLI#debug?`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli.rb')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli.rb b/Library/Homebrew/cask/lib/hbc/cli.rb index 37784f4c3..d0c4f30df 100644 --- a/Library/Homebrew/cask/lib/hbc/cli.rb +++ b/Library/Homebrew/cask/lib/hbc/cli.rb @@ -71,7 +71,6 @@ module Hbc FLAGS = { ["--[no-]binaries", :binaries] => true, - ["--debug", :debug] => false, ["--verbose", :verbose] => false, ["--outdated", :outdated] => false, ["--help", :help] => false, @@ -158,7 +157,7 @@ module Hbc run_command(command, *rest) rescue CaskError, CaskSha256MismatchError, ArgumentError => e msg = e.message - msg << e.backtrace.join("\n") if debug? + msg << e.backtrace.join("\n") if ARGV.debug? onoe msg exit 1 rescue StandardError, ScriptError, NoMemoryError => e @@ -239,7 +238,6 @@ module Hbc # for compat with Homebrew, not certain if this is desirable self.verbose = true if ARGV.verbose? - self.debug = true if ARGV.debug? remaining end |
