diff --git a/client/src/cmdparser.c b/client/src/cmdparser.c index fd85719af..feafb2a4f 100644 --- a/client/src/cmdparser.c +++ b/client/src/cmdparser.c @@ -274,6 +274,14 @@ int CmdsParse(const command_t Commands[], const char *Cmd) { str_lower(cmd_name); + // iceman: I mistyped "list" so many times with "lsit". No more. + char *lsit = strstr(cmd_name, "lsit"); + if (lsit) { + lsit[1] = lsit[2] ^ lsit[1]; + lsit[2] = lsit[1] ^ lsit[2]; + lsit[1] = lsit[2] ^ lsit[1]; + } + // Comment if (cmd_name[0] == '#') return PM3_SUCCESS;