improved 'help' command in debugger prompt (case insensitive now)

This commit is contained in:
thrust26 2024-12-01 09:33:09 +01:00
parent 62ca90a784
commit 28db219b22
1 changed files with 2 additions and 2 deletions

View File

@ -1492,9 +1492,9 @@ void DebuggerParser::executeHelp()
}
else // get help for specific command
{
for(const auto& c: commands)
for(auto& c: commands)
{
if(argStrings[0] == c.cmdString)
if(BSPF::toLowerCase(argStrings[0]) == BSPF::toLowerCase(c.cmdString))
{
commandResult << " " << red(c.description) << '\n' << c.extendedDesc;
break;