Use CmdTraceListAlias everywhere
This commit is contained in:
@@ -191,13 +191,7 @@ static int CmdHfThinFilmSim(const char *Cmd) {
|
||||
}
|
||||
|
||||
static int CmdHfThinFilmList(const char *Cmd) {
|
||||
char args[128] = {0};
|
||||
if (strlen(Cmd) == 0) {
|
||||
snprintf(args, sizeof(args), "-t thinfilm");
|
||||
} else {
|
||||
strncpy(args, Cmd, sizeof(args) - 1);
|
||||
}
|
||||
return CmdTraceList(args);
|
||||
return CmdTraceListAlias(Cmd, "hf thinfilm", "thinfilm");
|
||||
}
|
||||
|
||||
static command_t CommandTable[] = {
|
||||
|
||||
Reference in New Issue
Block a user