Skip to content

Commit 739adf8

Browse files
committed
Include Ruby version into output of --version.
Helpful for debugging purposes.
1 parent b6b94b1 commit 739adf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jsduck/options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def create_option_parser
860860
end
861861

862862
opts.on('--version', "Prints JSDuck version") do
863-
puts "JSDuck " + @version
863+
puts "JSDuck " + @version + " (Ruby #{RUBY_VERSION})"
864864
exit
865865
end
866866
end

0 commit comments

Comments
 (0)