bool cmdlineGetFlag(const char flag[])
Checks if a given flag ("-flag" or "--flag") was passed via the command line.
 
const char * cmdlineGetProgramName(void)
Retrieves the program name.
 
const char * cmdlineGetValueForKey(const char key[])
Gets the corresponding value for a given option key ("-key=value" or "--key=value").
 
int cmdlineInit(int argc, char *argv[])
Initializes the command-line parsing module.
 
const char * cmdlineGetExtraArg(unsigned int index)
Retrieves an extra argument.
 
unsigned int cmdlineGetExtraArgCount(void)