From 9a4227841dfa45cfeb96d42d6505d3a5e826c078 Mon Sep 17 00:00:00 2001 From: Terence Parr Date: Sun, 8 Jul 2012 13:38:56 -0700 Subject: [PATCH] -print -> -tree --- runtime/Java/src/org/antlr/v4/runtime/misc/TestRig.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/misc/TestRig.java b/runtime/Java/src/org/antlr/v4/runtime/misc/TestRig.java index 8b70db3ea..a15c4bd2b 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/misc/TestRig.java +++ b/runtime/Java/src/org/antlr/v4/runtime/misc/TestRig.java @@ -50,7 +50,7 @@ import java.lang.reflect.Method; * postscript file. Optionally taking input file. * * $ java org.antlr.v4.runtime.misc.TestRig GrammarName startRuleName - * [-print] + * [-tree] * [-tokens] [-gui] [-ps file.ps] * [-trace] * [-diagnostics] @@ -73,7 +73,7 @@ public class TestRig { String encoding = null; if ( args.length < 2 ) { System.err.println("java org.antlr.v4.runtime.misc.TestRig GrammarName startRuleName\n" + - " [-tokens] [-print] [-gui] [-ps file.ps] [-encoding encodingname]\n" + + " [-tokens] [-tree] [-gui] [-ps file.ps] [-encoding encodingname]\n" + " [-trace] [-diagnostics]\n"+ " [input-filename]"); System.err.println("Use startRuleName='tokens' if GrammarName is a lexer grammar."); @@ -92,7 +92,7 @@ public class TestRig { inputFile = arg; continue; } - if ( arg.equals("-print") ) { + if ( arg.equals("-tree") ) { printTree = true; } if ( arg.equals("-gui") ) {