change ptt intlock to ptt inter (intlock is ambiguous)

git-svn-id: file:///home/jj/hercules.svn/trunk@5226 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
Jan Jaeger
2009-03-01 14:25:28 +00:00
parent 683ba220e0
commit e8856c06b9
2 changed files with 4 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ COMMAND ( "ptt", PANEL+CONFIG, EXT_CMD(ptt_cmd),
" (no)instr - instruction information trace\n"
" (no)error - instruction error trace\n"
" (no)prog - program interrupt trace\n"
" (no)intlock - interlock failure trace\n"
" (no)inter - interlock failure trace\n"
" (no)timer - timer trace\n"
" (no)threads - thread trace\n"
" (no)logger - logger trace\n"

View File

@@ -129,12 +129,12 @@ DLL_EXPORT int ptt_cmd(int argc, char *argv[], char* cmdline)
pttclass &= ~PTT_CL_PGM;
continue;
}
else if (strcasecmp("intlock", argv[0]) == 0)
else if (strcasecmp("inter", argv[0]) == 0)
{
pttclass |= PTT_CL_CSF;
continue;
}
else if (strcasecmp("nointlock", argv[0]) == 0)
else if (strcasecmp("nointer", argv[0]) == 0)
{
pttclass &= ~PTT_CL_CSF;
continue;
@@ -264,7 +264,7 @@ DLL_EXPORT int ptt_cmd(int argc, char *argv[], char* cmdline)
(pttclass & PTT_CL_INF) ? "instr " : "",
(pttclass & PTT_CL_ERR) ? "error " : "",
(pttclass & PTT_CL_PGM) ? "prog " : "",
(pttclass & PTT_CL_CSF) ? "intlock " : "",
(pttclass & PTT_CL_CSF) ? "inter " : "",
(pttclass & PTT_CL_TMR) ? "timer " : "",
(pttclass & PTT_CL_THR) ? "threads " : "",
(pttclass & PTT_CL_LOG) ? "logger " : "",