0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-09 13:38:55 +02:00

modules/console: Fix matching condition.

This commit is contained in:
Jason Volk 2018-09-04 00:51:09 -07:00
parent 1346fdd639
commit 67d202a5e4

View file

@ -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