Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Commit

Permalink
fix rdebug version and update project name to say debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Apr 6, 2012
1 parent 8c1376d commit 731b963
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/rdebug
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#=== Summary
#
#A command-line front-end to the Ruby debugger, <tt>ruby-debug</tt>, the
#A command-line front-end to the Ruby debugger, <tt>debugger</tt>, the
#Fast Ruby Debugger.
#
#Command invocation:
Expand Down Expand Up @@ -104,7 +104,7 @@

require 'optparse'
require 'ostruct'
require 'ruby-debug'
require 'debugger'

def debug_program(options)
# Make sure Ruby script syntax checks okay.
Expand Down Expand Up @@ -225,7 +225,7 @@ EOB
opts.on('-r', '--require SCRIPT', String,
'Require the library, before executing your script') do |name|
if name == 'debug'
puts "ruby-debug is not compatible with Ruby's 'debug' library. This option is ignored."
puts "debugger is not compatible with Ruby's 'debug' library. This option is ignored."
else
require name
end
Expand Down Expand Up @@ -262,7 +262,7 @@ EOB
end
opts.on_tail('--version',
'Print the version') do
puts "ruby-debug #{Debugger::VERSION}"
puts "debugger #{Debugger::VERSION}"
exit
end
opts.on('--verbose', 'Turn on verbose mode') do
Expand All @@ -271,7 +271,7 @@ EOB
end
opts.on_tail('-v',
'Print version number, then turn on verbose mode') do
puts "ruby-debug #{Debugger::VERSION}"
puts "debugger #{Debugger::VERSION}"
$VERBOSE = true
end
end
Expand Down

0 comments on commit 731b963

Please sign in to comment.