1
0
mirror of https://github.com/simh/simh.git synced 2026-01-14 15:45:18 +00:00

Help message and minor formatting cleanup

This commit is contained in:
Mark Pizzolato 2012-03-28 12:08:17 -07:00
parent 8619674d19
commit b0a3bf6f4e
2 changed files with 12 additions and 5 deletions

10
scp.c
View File

@ -630,7 +630,9 @@ static CTAB cmd_table[] = {
"set console NOTELNET disable console telnet\n"
"set console LOG enable console logging\n"
"set console NOLOG disable console logging\n"
"set console DEBUG enable console debugging\n"
"set console DEBUG=dbg_file\n"
" enable console debugging to the\n"
" specified destination {LOG,STDOUT,DEBUG or filename)\n"
"set console NODEBUG disable console debugging\n"
"set console {-A}{-I} HALT=<string>\n"
" set a console output string which\n"
@ -643,6 +645,12 @@ static CTAB cmd_table[] = {
"set console DELAY=<n> specifies a number of instructions to delay\n"
" between when a console halt condition\n"
" is satisfied and the halt occurs\n"
"set log log_file specify the log destination\n"
" (STDOUT,DEBUG or filename)\n"
"set nolog disables any currently active logging\n"
"set debug debug_file specify the debug destination\n"
" (STDOUT,LOG or filename)\n"
"set nodebug disables any currently active debug output\n"
"set break <list> set breakpoints\n"
"set nobreak <list> clear breakpoints\n"
"set throttle {x{M|K|%}}|{x/t}\n"

View File

@ -279,7 +279,8 @@ while (*cptr != 0) { /* do all mods */
if (r != SCPE_OK)
return r;
}
else return SCPE_NOPARAM;
else
return SCPE_NOPARAM;
}
return SCPE_OK;
}
@ -498,7 +499,7 @@ while (*cptr != 0) { /* do all mods */
}
else
if (ctptr = find_ctab (set_con_telnet_tab, gbuf)) { /* match? */
r = ctptr->action (ctptr->arg, cvptr); /* do the rest */
r = ctptr->action (ctptr->arg, cvptr); /* do the rest */
if (r != SCPE_OK)
return r;
}
@ -1421,8 +1422,6 @@ int c = -1;
DWORD nkbevents, nkbevent;
INPUT_RECORD rec;
\
if ((std_input == NULL) || /* No keyboard for */
(std_input == INVALID_HANDLE_VALUE)) /* background processes */
return SCPE_OK;