54 std::string arg_value;
68 throw std::invalid_argument(
"Invalid argument name");
79 return (Argument.length() > 0 && Argument[0] ==
'-');
std::string get_arg(const std::string &ArgumentName) const
Returns an argument by name.
static bool is_arg_name(const std::string &Argument)
Returns whether a given argument is an argument name.
CommandLine(size_t argc, char *argv[])
Simple command line abstraction.