SCP: Update HELP SET ON to also describe INHERIT and NOINHERIT options

Add missing help information reported in #130
This commit is contained in:
Mark Pizzolato 2022-11-26 15:34:43 -10:00 committed by Paul Koning
parent 60599a9f62
commit 5250eb866d

14
scp.c
View file

@ -1934,10 +1934,20 @@ 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 enable error traps\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"
"4Inheritance of Error Traps\n"
" Error traps can be local the current command file or inherited into\n"
" nested command file invocations:\n\n"
"++set on INHERIT|NOINHERIT enable/disable inheritance\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"
"4ON\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"