| 226 | } |
| 227 | |
| 228 | boost::optional<const ConsoleInterface::String_t&> ConsoleInterface::getCommandDescription(const String_t& command) |
| 229 | { |
| 230 | auto it = mCommandMap.find(command); |
| 231 | if(it != mCommandMap.end()) |
| 232 | { |
| 233 | return boost::optional<const String_t&>(it->second->getDescription()); |
| 234 | } |
| 235 | else |
| 236 | { |
| 237 | return boost::none; |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | Command::Result ConsoleInterface::helpCommand(const Command::ArgumentList_t& args, ConsoleInterface& console, AbstractModeManager&) |
| 242 | { |
no test coverage detected