mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
no more misspelling of list for Iceman
This commit is contained in:
parent
fe0eedaa6a
commit
aa173ce94f
1 changed files with 8 additions and 0 deletions
|
@ -274,6 +274,14 @@ int CmdsParse(const command_t Commands[], const char *Cmd) {
|
||||||
|
|
||||||
str_lower(cmd_name);
|
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
|
// Comment
|
||||||
if (cmd_name[0] == '#')
|
if (cmd_name[0] == '#')
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue