int tsmGetArgString ( int argc, char **argv, char *arg, char **value ) Get the string after an option on the command line
Get the string after an option on the command line.This function will take the argc and argv variables that were passed to an application's main() function and will then test to see if a specific option string was supplied in the command line. If it is found, then the string directly after that option is returned. N.B. the string is not copied - it is a pointer to the actual argv string, so don't free it. You should take a copy of the string with strdup() if you want to alter it.
The string comparison is case sensitive.