add: msg when cmd not found
This commit is contained in:
parent
3e23f44fc3
commit
0358eefcae
@ -73,6 +73,13 @@ main()
|
||||
cmd_print(text, NULL);
|
||||
else if (strcmp(cmd, "n") == 0)
|
||||
cmd_numbered(text, NULL);
|
||||
else if (strcmp(cmd, "d") == 0)
|
||||
cmd_delete(text, NULL);
|
||||
else
|
||||
{
|
||||
putstr("cmd not foud");
|
||||
putchar('\n');
|
||||
}
|
||||
free(cmd);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user