From 5b9a6abb37a7ae46e9a2b844a6b608fdb92974a9 Mon Sep 17 00:00:00 2001 From: Tony Lawrence Date: Fri, 6 Oct 2023 00:31:29 -1000 Subject: [PATCH] PDP11: TS11: Fix help output for BOOT command The BOOT command for this device was not correctly documented in HELP (appearing both supported and not) for PDP-11. This change fixes the issue and syncs HELP output with the actual code (by using the same #if conditional). --- PDP11/pdp11_ts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PDP11/pdp11_ts.c b/PDP11/pdp11_ts.c index 2e1c520b..23e89f34 100644 --- a/PDP11/pdp11_ts.c +++ b/PDP11/pdp11_ts.c @@ -1194,9 +1194,10 @@ fprint_set_help (st, dptr); fprint_show_help (st, dptr); fprintf (st, "\nThe type options can be used only when a unit is not attached to a file. The\n"); fprintf (st, "bad block option can be used only when a unit is attached to a file.\n"); -fprintf (st, "The TS11 does not support the BOOT command.\n"); #if defined (VM_PDP11) fprintf (st, "The TS11 device supports the BOOT command.\n"); +#else +fprintf (st, "The TS11 does not support the BOOT command.\n"); #endif fprint_reg_help (st, dptr); fprintf (st, "\nError handling is as follows:\n\n");