SCP: Add "HELP DEVICE devnam"
This allows for device help to be displayed for devices which may have names that are ambiguous with respect to commands. For example if a device named CON exists, HELP CON will display info about the CONTINUE command rather than the device. HELP DEVICE CON will now display that device's HELP info.
This commit is contained in:
parent
59bfff4bfd
commit
a989770656
1 changed files with 2 additions and 0 deletions
2
scp.c
2
scp.c
|
@ -3285,6 +3285,8 @@ if (*cptr) {
|
|||
UNIT *uptr;
|
||||
t_stat r;
|
||||
|
||||
if (0 == strcmp (gbuf, "DEVICE"))
|
||||
cptr = get_glyph (cptr, gbuf, 0);
|
||||
dptr = find_unit (gbuf, &uptr);
|
||||
if (dptr == NULL) {
|
||||
dptr = find_dev (gbuf);
|
||||
|
|
Loading…
Add table
Reference in a new issue