| 277 | } |
| 278 | |
| 279 | void enable_help() { |
| 280 | set_callback("h", "help", std::function<bool(CallbackArgs&)>([this](CallbackArgs& args){ |
| 281 | args.output << this->usage(); |
| 282 | /*exit(0);*/ |
| 283 | return false; |
| 284 | }), "", true); |
| 285 | } |
| 286 | |
| 287 | void disable_help() { |
| 288 | for (auto command = _commands.begin(); command != _commands.end(); ++command) { |