chg: remove double exit text

chg: escape chars didn't work on apple
This commit is contained in:
iceman1001 2018-02-05 16:38:00 +01:00
parent 9ba8655953
commit c72548562e
3 changed files with 4 additions and 5 deletions

View file

@ -57,7 +57,7 @@ int CmdsParse(const command_t Commands[], const char *Cmd) {
matches++;
}
}
if(matches == 1) i = last_match;
if (matches == 1) i = last_match;
}
if (Commands[i].Name) {
@ -76,8 +76,7 @@ char pparent[512] = {0};
char *parent = pparent;
void dumpCommandsRecursive(const command_t cmds[], int markdown) {
if (cmds[0].Name == NULL)
return;
if (cmds[0].Name == NULL) return;
int i = 0;
int w_cmd = 25;