this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2068 from locriacyber/fix-2

Don't show "unknown topic" when help message is displayed

authored by

Vadim Grigoruk and committed by
GitHub
90886c6a c3ef79ed

+2 -3
+2 -3
src/studio/screens/console.c
··· 3548 3548 FOR(const struct Handler*, ptr, Handlers) 3549 3549 if(strcmp(ptr->cmd, param) == 0) 3550 3550 { 3551 + foundTopic = true; 3551 3552 ptr->handler(console); 3552 3553 break; 3553 3554 } 3554 3555 3555 - if (foundTopic) { 3556 - commandDone(console); 3557 - } else { 3556 + if (!foundTopic) { 3558 3557 printError(console, "\nunknown topic: "); 3559 3558 printError(console, param); 3560 3559 }