|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--shared.CmdLine
This class contains standard command-line processing for MLC++ utilities.
| Constructor Summary | |
CmdLine()
Creates a new instance of CmdLine |
|
| Method Summary | |
static int |
process_mlc_cmdline(java.lang.String[] args)
Process all options on the command line for a standard MLC++ utility. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public CmdLine()
| Method Detail |
public static int process_mlc_cmdline(java.lang.String[] args)
-o filename ----------- reads a filename containing lines of the form OPTION=VALUE Each option/value pair should be on a separate line. All option/value pairs are added to the list of available options.
-O OPTION=VALUE --------------- Sets a specific option to a specific value. -s -- Suppress the use of the enviornment to fill in the values of unset options.
The return value from this function is the index in args of the first nonoption argument.
Comments:
process_mlc_cmdline processes all options on the command line and will produce
an error if it finds an unsupported option.
This function resets the values of a few global variables which are set by so-
called "super-nuisance" options at startup time. The values are reset using
values from the option server.
args - String array containing command line arguments.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||