lib/rubocop/git/cli.rb in rubocop-git-0.0.2 vs lib/rubocop/git/cli.rb in rubocop-git-0.0.3

- old
+ new

@@ -28,10 +28,14 @@ opt.on('-c', '--config FILE', 'Specify configuration file') do |config| @options.config = config end + opt.on('-d', '--debug', 'Display debug info') do + @options.rubocop[:debug] = true + end + opt.on('-D', '--display-cop-names', 'Display cop names in offense messages') do @options.rubocop[:display_cop_names] = true end @@ -41,11 +45,10 @@ opt.on('--staged', 'synonym of --cached') do @options.cached = true end - opt.on('--hound', - 'Hound compatibility mode (require rubocop 0.22.0)') do + opt.on('--hound', 'Hound compatibility mode') do @options.hound = true end end end end