From 5250eb866dacc7bbba10a70610f507a8e324ebdf Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 26 Nov 2022 15:34:43 -1000 Subject: [PATCH] SCP: Update HELP SET ON to also describe INHERIT and NOINHERIT options Add missing help information reported in #130 --- scp.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/scp.c b/scp.c index 92c8f90e..f7c36962 100644 --- a/scp.c +++ b/scp.c @@ -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"