Fix format of HELP dev SHOW for MTAB entries with MTAB_SHP flag set
This commit is contained in:
parent
0eba66c72a
commit
a036f40a80
1 changed files with 2 additions and 2 deletions
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…
Add table
Reference in a new issue