7 #ifndef MANAK_UTIL_CLI_HPP_INCLUDED
8 #define MANAK_UTIL_CLI_HPP_INCLUDED
29 const std::string & option)
31 char ** itr = std::find(begin, end, option);
32 if (itr != end && ++itr != end)
42 return std::find(begin, end, option) != end;
51 #endif // MANAK_UTIL_CLI_HPP_INCLUDED
static char * getCmdOption(char **begin, char **end, const std::string &option)
Check if certain option is passed.
static bool cmdOptionExists(char **begin, char **end, const std::string &option)
Get passed option.