defines the application's options and parameters
None
The specified information is used to parse the application's input arguments as well as to print a brief help message.
Options to print the program's version and the copyright notice are added automatically if you specify std::VERSION and std::COPYRIGHT.
The syntax is quite complicated. The example shows the complete list of options and parameters of the Funky compiler.
std::COPYRIGHT | adds a copyright message |
std::VERSION | defines the version of the application program |
std::VALUED_OPTION | describes an option with an associated value |
std::MULTI_VALUED_OPTION | describes an option with an associated list of values |
std::MANDATORY_PARAMETER | describes a mandatory parameter |
std::OPTIONAL_PARAMETER | describes an optional parameter |
std::SOME_PARAMETERS | describes list of zero or more parameters |
std::MANY_PARAMETERS | describes list of one or more parameters |
std::extract_options | extracts the options of a function call |