3 #ifndef __CMDOPTION_H_INCLUDED
4 #define __CMDOPTION_H_INCLUDED
9 char*
getCmdOption(
char ** begin,
char ** end,
const std::string & option)
11 char ** itr = std::find(begin, end, option);
12 if (itr != end && ++itr != end)
21 return std::find(begin, end, option) != end;
char * getCmdOption(char **begin, char **end, const std::string &option)
Definition: CmdOption.h:9
bool cmdOptionExists(char **begin, char **end, const std::string &option)
Definition: CmdOption.h:19