OECheckHelp

bool OECheckHelp(const OEInterface &itf, int argc, char **argv,
                 bool help_for_no_args=true,
                 OEPlatform::oeostream &ostr=OEERR)

Return true if --help is specified on the commandline given by the argc and argv arguments. If --help was found, print out a help message to the stream specified by the ostr argument, by default, standard error. The --help flag can also be passed as an argument to cause detailed information to be printed about that parameter.

See also

Most users should not need to call this function directly. The OEInterface constructor and OEParseCommandLine call this function internally.