| 285 | } |
| 286 | |
| 287 | void disable_help() { |
| 288 | for (auto command = _commands.begin(); command != _commands.end(); ++command) { |
| 289 | if ((*command)->name == "h" && (*command)->alternative == "--help") { |
| 290 | _commands.erase(command); |
| 291 | break; |
| 292 | } |
| 293 | } |
| 294 | } |
| 295 | |
| 296 | template<typename T> |
| 297 | void set_default(bool is_required, const std::string& description = "") { |
nothing calls this directly
no outgoing calls
no test coverage detected