bin/ruby-prof in ruby-prof-0.10.4 vs bin/ruby-prof in ruby-prof-0.10.5
- old
+ new
@@ -125,11 +125,11 @@
opts.on_tail("--version", "Show version #{RubyProf::VERSION}") do
puts "ruby_prof " + RubyProf::VERSION
exit
end
- opts.on("-v","Show version, set $VERBOSE to true, profile script") do
- puts "ruby version: " + RUBY_DESCRIPTION
+ opts.on("-v","Show version, set $VERBOSE to true, profile script if option given") do
+ puts "ruby version: " + [RUBY_PATCHLEVEL, RUBY_PLATFORM, RUBY_VERSION].join(' ')
$VERBOSE = true
end
opts.on("-d", "Set $DEBUG to true") do
$DEBUG = true