mirror of
https://github.com/simh/simh.git
synced 2026-04-25 11:41:25 +00:00
SCP: Fix HELP SET <device> to properly output to sim_log when logging. Reported in issue #71
This commit is contained in:
2
scp.c
2
scp.c
@@ -1338,7 +1338,7 @@ if (*cptr) {
|
|||||||
}
|
}
|
||||||
r = help_dev_help (stdout, dptr, uptr, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
|
r = help_dev_help (stdout, dptr, uptr, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
|
||||||
if (sim_log)
|
if (sim_log)
|
||||||
help_dev_help (stdout, dptr, uptr, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
|
help_dev_help (sim_log, dptr, uptr, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user