-print -> -tree

This commit is contained in:
Terence Parr 2012-07-08 13:38:56 -07:00
parent 707ff615b4
commit 9a4227841d
1 changed files with 3 additions and 3 deletions

View File

@ -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") ) {