* Check if the currently registered command name matches the one * provided in the argument. * * @param cmdn std::string of the command name to match against. * @return */
| 820 | * @return |
| 821 | */ |
| 822 | bool CheckCommandName(const std::string &cmdn) |
| 823 | { |
| 824 | return (cmdn == command) |
| 825 | || (!alias_cmd.empty() && cmdn == alias_cmd); |
| 826 | } |
| 827 | |
| 828 | |
| 829 | /** |
no test coverage detected