Use CmdTraceListAlias everywhere
This commit is contained in:
1 parent
2e925d5da3
commit
dc54dd305b
18 files changed
+25
-116
No files matched your search
@@ -1164,13 +1164,7 @@ static int CmdLegicWipe(const char *Cmd) {
|
||||
}
|
||||
|
||||
static int CmdLegicList(const char *Cmd) {
|
||||
char args[128] = {0};
|
||||
if (strlen(Cmd) == 0) {
|
||||
snprintf(args, sizeof(args), "-t legic");
|
||||
} else {
|
||||
strncpy(args, Cmd, sizeof(args) - 1);
|
||||
}
|
||||
return CmdTraceList(args);
|
||||
return CmdTraceListAlias(Cmd, "hf legic", "legic");
|
||||
}
|
||||
|
||||
static command_t CommandTable[] = {
|
||||
|
||||
Reference in new issue
Block a user