Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.ruby.shell/src/com/oracle/truffle/ruby/shell/CommandLineParser.java @ 13659:62bfc12dc9e1
Ruby: more tidy up.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Wed, 15 Jan 2014 19:54:48 +0000 |
parents | 50c11b9a7fdf |
children | 5d455591cfbd |
comparison
equal
deleted
inserted
replaced
13658:50c11b9a7fdf | 13659:62bfc12dc9e1 |
---|---|
220 case "--print-uninitialized-calls": | 220 case "--print-uninitialized-calls": |
221 configurationBuilder.setPrintUninitializedCalls(true); | 221 configurationBuilder.setPrintUninitializedCalls(true); |
222 break; | 222 break; |
223 case "--print-java-exceptions": | 223 case "--print-java-exceptions": |
224 configurationBuilder.setPrintJavaExceptions(true); | 224 configurationBuilder.setPrintJavaExceptions(true); |
225 break; | |
226 case "--print-ruby-exceptions": | |
227 configurationBuilder.setPrintRubyExceptions(true); | |
228 break; | 225 break; |
229 default: | 226 default: |
230 throw new IllegalArgumentException("unknown flag " + arg); | 227 throw new IllegalArgumentException("unknown flag " + arg); |
231 } | 228 } |
232 } | 229 } |
331 out.println(" --no-intrinsic-method-calls don't turn method calls into intrinsic nodes"); | 328 out.println(" --no-intrinsic-method-calls don't turn method calls into intrinsic nodes"); |
332 out.println(" --no-jline don't use JLine"); | 329 out.println(" --no-jline don't use JLine"); |
333 out.println(" --print-parse-tree print the result of parsing"); | 330 out.println(" --print-parse-tree print the result of parsing"); |
334 out.println(" --print-uninitialized-calls print each time a method call is uninitialized"); | 331 out.println(" --print-uninitialized-calls print each time a method call is uninitialized"); |
335 out.println(" --print-java-exceptions print Java exception back traces at the point of translating them to Ruby exceptions"); | 332 out.println(" --print-java-exceptions print Java exception back traces at the point of translating them to Ruby exceptions"); |
336 out.println(" --print-ruby-exceptions print the Java exception back traces at the point of raising Ruby exceptions"); | |
337 out.println("Relevant environment variables:"); | 333 out.println("Relevant environment variables:"); |
338 out.println(" RUBYHOME location of the Ruby Truffle installation"); | 334 out.println(" RUBYHOME location of the Ruby Truffle installation"); |
339 out.println(" RUBYOPT extra command line arguments"); | 335 out.println(" RUBYOPT extra command line arguments"); |
340 out.println(" RUBYLIB list of colon separated paths to add to $LOAD_PATH"); | 336 out.println(" RUBYLIB list of colon separated paths to add to $LOAD_PATH"); |
341 out.println(" PATH as RUBYLIB, if -S is used"); | 337 out.println(" PATH as RUBYLIB, if -S is used"); |