cup -V (return code: 1)
Unrecognized option "--version"
Usage: java_cup [options] [filename]
and expects a specification file on standard input if no filename is given.
Legal options include:
-package name specify package generated classes go in [default none]
-destdir name specify the destination directory, to store the generated files in
-parser name specify parser class name [default "parser"]
-typearg args specify type arguments for parser class
-symbols name specify name for symbol constant class [default "sym"]
-interface put symbols in an interface, rather than a class
-nonterms put non terminals in symbol constant class
-expect # number of conflicts expected/allowed [default 0]
-compact_red compact tables by defaulting to most frequent reduce
-nowarn don't warn about useless productions, etc.
-nosummary don't print the usual summary of parse states, etc.
-nopositions don't propagate the left and right token position values
-noscanner don't refer to java_cup.runtime.Scanner
-progress print messages to indicate progress of the system
-time print time usage summary
-dump_grammar produce a human readable dump of the symbols and grammar
-dump_states produce a dump of parse state machine
-dump_tables produce a dump of the parse tables
-dump produce a dump of all of the above
-version print the version information for CUP and exit
cup --help (return code: 1)
Unrecognized option "--help"
Usage: java_cup [options] [filename]
and expects a specification file on standard input if no filename is given.
Legal options include:
-package name specify package generated classes go in [default none]
-destdir name specify the destination directory, to store the generated files in
-parser name specify parser class name [default "parser"]
-typearg args specify type arguments for parser class
-symbols name specify name for symbol constant class [default "sym"]
-interface put symbols in an interface, rather than a class
-nonterms put non terminals in symbol constant class
-expect # number of conflicts expected/allowed [default 0]
-compact_red compact tables by defaulting to most frequent reduce
-nowarn don't warn about useless productions, etc.
-nosummary don't print the usual summary of parse states, etc.
-nopositions don't propagate the left and right token position values
-noscanner don't refer to java_cup.runtime.Scanner
-progress print messages to indicate progress of the system
-time print time usage summary
-dump_grammar produce a human readable dump of the symbols and grammar
-dump_states produce a dump of parse state machine
-dump_tables produce a dump of the parse tables
-dump produce a dump of all of the above
-version print the version information for CUP and exit