From 10ab68ce29102e02e4ff5f2683952fcbe5bad822 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 3 Feb 2013 11:30:09 -0800 Subject: [PATCH] Added help strings pointing to extended device specific help for the HELP attach, set and show help --- scp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scp.c b/scp.c index 2dd0796f..cee9e3c3 100644 --- a/scp.c +++ b/scp.c @@ -624,7 +624,8 @@ static CTAB cmd_table[] = { { "NOBREAK", &brk_cmd, SSH_CL, "nobr{eak} clear breakpoints\n" }, { "ATTACH", &attach_cmd, 0, - "at{tach} attach file to simulated unit\n" }, + "at{tach} attach file to simulated unit\n" + "h{elp} attach displays any device specific attach help\n" }, { "DETACH", &detach_cmd, 0, "det{ach} detach file from simulated unit\n" }, { "ASSIGN", &assign_cmd, 0, @@ -712,7 +713,7 @@ static CTAB cmd_table[] = { "set ENABLED enable unit\n" "set DISABLED disable unit\n" "set arg{,arg...} set unit parameters (see show modifiers)\n" - }, + "help set displays the device specific set commands available\n" }, { "SHOW", &show_cmd, 0, "sh{ow} br{eak} show breakpoints\n" "sh{ow} con{figuration} show configuration\n" @@ -739,7 +740,8 @@ static CTAB cmd_table[] = { "sh{ow} serial show serial devices\n" "sh{ow} multiplexer show open multiplexer devices\n" "sh{ow} clocks show calibrated timers\n" - "sh{ow} on show on condition actions\n" }, + "sh{ow} on show on condition actions\n" + "h{elp} show displays the device specific show commands available\n" }, { "DO", &do_cmd, 1, "do {-V} {-O} {-E} {-Q} {arg,arg...}\n" " process command file\n" },