mirror of
https://github.com/simh/simh.git
synced 2026-01-14 15:45:18 +00:00
Fix format of HELP dev SHOW for MTAB entries with MTAB_SHP flag set
This commit is contained in:
parent
0eba66c72a
commit
a036f40a80
4
scp.c
4
scp.c
@ -1157,7 +1157,7 @@ if (dptr->modifiers) {
|
||||
continue;
|
||||
if ((!mptr->disp) || (!mptr->pstring))
|
||||
continue;
|
||||
sprintf (buf, "show %s %s%s", sim_dname (dptr), mptr->pstring, (mptr->mask & MTAB_SHP) ? " arg" : "");
|
||||
sprintf (buf, "show %s %s%s", sim_dname (dptr), mptr->pstring, (mptr->mask & MTAB_SHP) ? "=arg" : "");
|
||||
fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
|
||||
}
|
||||
}
|
||||
@ -1171,7 +1171,7 @@ if (dptr->modifiers) {
|
||||
continue;
|
||||
if ((!mptr->disp) || (!mptr->pstring))
|
||||
continue;
|
||||
sprintf (buf, "show %s%s %s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->pstring, (mptr->mask & MTAB_SHP) ? " arg" : "");
|
||||
sprintf (buf, "show %s%s %s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->pstring, (mptr->mask & MTAB_SHP) ? "=arg" : "");
|
||||
fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user