creeper
argumentParser.h
Go to the documentation of this file.
1 #ifndef ARGUMENTPARSER_H
2 #define ARGUMENTPARSER_H
3 
38 int initArgumentParser(int argc, char* argv[]);
39 
44 char* getCommand(void);
45 
56 char* getValueForOption(char* keyName);
57 
60 
67 char* getArgument(int index);
68 
69 #endif // ARGUMENTPARSER_H
int getNumberOfArguments(void)
char * getValueForOption(char *keyName)
Gets the corresponding value for a given option key ("-key=value")
char * getCommand(void)
Retrieves the program name.
int initArgumentParser(int argc, char *argv[])
Initializes the simple command-line parsing module.
char * getArgument(int index)
Retrieves an argument.