mirror of
https://github.com/matrix-construct/construct
synced 2025-04-02 16:00:36 +02:00
modules/console: Fix matching condition.
This commit is contained in:
parent
1346fdd639
commit
67d202a5e4
1 changed files with 2 additions and 2 deletions
|
@ -271,8 +271,8 @@ console_cmd__help(opt &out, const string_view &line)
|
|||
if(last == prefix)
|
||||
continue;
|
||||
|
||||
if(prefix != name && !startswith(lstrip(prefix, name), ' '))
|
||||
continue;
|
||||
if(name && prefix != name && !startswith(lstrip(prefix, name), ' '))
|
||||
break;
|
||||
|
||||
last = prefix;
|
||||
const auto suffix
|
||||
|
|
Loading…
Add table
Reference in a new issue