22 #ifndef GEARS_OPTPARSE_SUBCOMMAND_HPP
23 #define GEARS_OPTPARSE_SUBCOMMAND_HPP
25 #include "option_set.hpp"
40 std::string
usage =
"[options..]";
57 subcommand(std::string
name, std::initializer_list<option>
options): name(std::move(name)), options(std::move(options)) {}
63 name(std::move(name)), help(std::move(help)), options(std::move(options)) {}
69 name(std::move(name)), help(std::move(help)), options(std::move(options)) {}
94 #endif // GEARS_OPTPARSE_SUBCOMMAND_HPP