Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/rdebug
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ EOB
options.host = host
end
opts.on('-I', '--include PATH', String, 'Add PATH to $LOAD_PATH') do |path|
$LOAD_PATH.unshift(path)
$LOAD_PATH.unshift(*path.split(':'))
end
opts.on('--no-control', 'Do not automatically start control thread') do
options.control = false
Expand Down
2 changes: 1 addition & 1 deletion test/tdebug.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def debug_program(options)
options.nx = true
end
opts.on("-I", "--include PATH", String, "Add PATH to $LOAD_PATH") do |path|
$LOAD_PATH.unshift(path)
$LOAD_PATH.unshift(*path.split(':'))
end
opts.on("-r", "--require SCRIPT", String,
"Require the library, before executing your script") do |name|
Expand Down