Commit 739adf8a authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Include Ruby version into output of --version.

Helpful for debugging purposes.
parent b6b94b14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -860,7 +860,7 @@ module JsDuck
        end

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