| 116 | #ifndef NO_COMMAND_MODULES |
| 117 | |
| 118 | void Command::addPlayOptions(cxxopts::Options &options) |
| 119 | { |
| 120 | options.add_options("play-general") // |
| 121 | ("s,boardsize", "Board size in [5,22]", cxxopts::value<int>()->default_value("15")) // |
| 122 | ("r,rule", |
| 123 | "One of [freestyle, standard, renju] rule", |
| 124 | cxxopts::value<std::string>()->default_value("freestyle")) // |
| 125 | ("t,thread", |
| 126 | "Number of search threads to use for searching balanced moves", |
| 127 | cxxopts::value<size_t>()->default_value(std::to_string(Config::DefaultThreadNum))) // |
| 128 | ("hashsize", |
| 129 | "Hash size of the transposition table (in MB)", |
| 130 | cxxopts::value<size_t>()->default_value("128")) // |
| 131 | ("q,no-search-message", |
| 132 | "Disable message output during search") // |
| 133 | ; |
| 134 | } |
| 135 | |
| 136 | void Command::addOpengenOptions(cxxopts::Options &options, const Opening::OpeningGenConfig &cfg) |
| 137 | { |
nothing calls this directly
no test coverage detected