A class to make handling command line options a bit easier and more consistent.
We support the following syntaxes: programname --myoptname programname --myoptname myvalue programname --myoptname=myvalue programname -t myvalue programname --myoptname "myvalue words" In the first, only the presence of the option is required, as some kind of flag. The second has a value associated with the option, and the third is the same but using "=" as the separator. The fourth uses the old "-" prefix, and the fifth shows a string as the value.
Located in /optlist-defs.php (line 44)
Instantiate the optlist object. This does all the work since we expect that this is being done to process command line arguments/options.
Return status of the named option. Returns true if the option exists or false if it does not exist.
Return the value of the named option. Returns the string associated with this option, or false if it does not exist.
Documentation generated by phpDocumentor 1.3.0RC3