Permalink
Browse files

Fix for Thor swallowing --debug option

  • Loading branch information...
1 parent c8d7efe commit 4db7cfd6f88c58c2316cc7e3626f6b25af43eb62 @candlerb candlerb committed with quirkey Feb 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/soca/cli.rb
View
2 lib/soca/cli.rb
@@ -39,7 +39,7 @@ def initialize(*)
end
self.appdir = options[:appdir] || File.expand_path(Dir.pwd)
self.config_file = options[:config]
- self.debug = options[:debug]
+ self.debug = self.class.debugging || options[:debug]
if debug
Soca.debug = true
logger.level = Logger::DEBUG

0 comments on commit 4db7cfd

Please sign in to comment.