#include <cmdhelp.h>
Static Public Methods | |
void | Help (iObjectRegistry *object_reg, iCommandLineParser *cmdline=NULL) |
Ask for Help. More... | |
bool | CheckHelp (iObjectRegistry *object_reg, iCommandLineParser *cmdline=NULL) |
Check if -help is given on the commandline and return true. |
One of the functionalities it gives is the ability to have commandline help. To do that it will look at all plugins and see if they implement iConfig. This class requires the iPluginManager and iCommandLineParser to be in the object registry (or else you give it as a parameter).
|
Ask for Help. This function will first send a broadcast message of type cscmdCommandLineHelp and then it will check all plugins and see if they implement iConfig. If the commandline parser is not given then the default commandline parser from the registry will be used. |