lib/rubocop/git/cli.rb in rubocop-git-0.1.0 vs lib/rubocop/git/cli.rb in rubocop-git-0.1.1

- old
+ new

@@ -53,9 +53,14 @@ end opt.on('--hound', 'Hound compatibility mode') do @options.hound = true end + + opt.on('--version', 'Display version') do + puts RuboCop::Git::VERSION + exit 0 + end end end end end end