Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Include Ruby version into output of --version.
Helpful for debugging purposes.
  • Loading branch information
nene committed Oct 9, 2013
1 parent b6b94b1 commit 739adf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsduck/options.rb
Expand Up @@ -860,7 +860,7 @@ def create_option_parser
end

opts.on('--version', "Prints JSDuck version") do
puts "JSDuck " + @version
puts "JSDuck " + @version + " (Ruby #{RUBY_VERSION})"
exit
end
end
Expand Down

0 comments on commit 739adf8

Please sign in to comment.