Permalink
Browse files

Exit after 'rouge -v'.

  • Loading branch information...
1 parent 9ec5636 commit 3b110ea246662745e7e44ee6e3d2e0b0eaa481dd Arlen Christian Mart Cuss committed Dec 12, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/rouge
View
@@ -11,6 +11,7 @@ option_parser = OptionParser.new do |opts|
opts.on('-v', '--version', 'Print version number') do
puts "Rouge #{Rouge::VERSION}"
+ exit 0
end
opts.on('-e STR', '--eval STR', 'Evaluate the contents of STR') do |str|

0 comments on commit 3b110ea

Please sign in to comment.