From a036f40a8093bacdcdbf309ab63d99d0ec8821f6 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 2 Feb 2013 06:44:13 -0800 Subject: [PATCH] Fix format of HELP dev SHOW for MTAB entries with MTAB_SHP flag set --- scp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scp.c b/scp.c index cf67ca59..4c6f563a 100644 --- a/scp.c +++ b/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 : ""); } }