mirror of
https://github.com/simh/simh.git
synced 2026-04-18 08:57:25 +00:00
VAXen with console ROMs: Issue meaningful message for invalid boot command args
This commit is contained in:
@@ -898,7 +898,7 @@ char gbuf[CBUFSIZE];
|
||||
|
||||
get_glyph (ptr, gbuf, 0); /* get glyph */
|
||||
if (gbuf[0] && strcmp (gbuf, "CPU"))
|
||||
return SCPE_ARG; /* Only can specify CPU device */
|
||||
return sim_messagef (SCPE_ARG, "Invalid boot device: %s, must specify BOOT CPU or simply BOOT\n", gbuf);
|
||||
return run_cmd (flag, "CPU");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user