Skip to content

Commit

Permalink
improved 'help' command in debugger prompt (case insensitive now)
Browse files Browse the repository at this point in the history
  • Loading branch information
thrust26 committed Dec 1, 2024
1 parent 62ca90a commit 28db219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/debugger/DebuggerParser.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 28db219

Please sign in to comment.