| 290 | } |
| 291 | |
| 292 | void |
| 293 | command_init() noexcept |
| 294 | { |
| 295 | #ifndef NDEBUG |
| 296 | /* ensure that the command list is sorted */ |
| 297 | for (unsigned i = 0; i < num_commands - 1; ++i) |
| 298 | assert(strcmp(commands[i].cmd, commands[i + 1].cmd) < 0); |
| 299 | #endif |
| 300 | } |
| 301 | |
| 302 | [[gnu::pure]] |
| 303 | static const struct command * |