Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -356,6 +356,7 @@ def help
puts " --jdebug run a JDWP debug server on #{JDEBUG_PORT}"
puts ' --jexception[s] print java exceptions'
puts ' --exec use exec rather than system'
puts ' --no-print-cmd don\'t print the command'
puts 'jt e 14 + 2 evaluate an expression'
puts 'jt puts 14 + 2 evaluate and print an expression'
puts 'jt cextc directory clang-args compile the C extension in directory, with optional extra clang arguments'
@@ -521,6 +522,10 @@ def run(*args)
end
end

if args.delete('--no-print-cmd')
args << { no_print_cmd: true }
end

if args.delete('--exec')
args << { use_exec: true }
end

0 comments on commit 78da47f

Please sign in to comment.