1
0
mirror of https://github.com/simh/simh.git synced 2026-02-26 16:54:22 +00:00

SCP: Update HELP SET ON to describe INHERIT and NOINHERIT

Add missing help information reported in #130
This commit is contained in:
Mark Pizzolato
2022-11-24 11:12:34 -10:00
parent f98a4ca93a
commit 7419457000
2 changed files with 7 additions and 2 deletions

Binary file not shown.

9
scp.c
View File

@@ -2019,10 +2019,15 @@ static const char simh_help2[] =
" the ON command.\n"
"4Enabling Error Traps\n"
" Error trapping is enabled with:\n\n"
"++set on enable error traps\n"
"++set on {INHERIT|NOINHERIT} enable error traps\n\n"
" By default, ON state is NOINHERIT which means that the scope of pending ON\n"
" actions is bound to the currently executing command file. If INHERIT is\n"
" enabled, the currently defined ON actions are inherited by nested command\n"
" files that may be invoked.\n\n"
"4Disabling Error Traps\n"
" Error trapping is disabled with:\n\n"
"++set noon disable error traps\n"
"++set noon disable error traps\n\n"
" Disables error traps for the currently running command file.\n\n"
"4ON\n"
" To set the action(s) to take when a specific error status is returned by\n"
" a command in the currently running do command file:\n\n"