From 483875fa43d750256b29247db56353b783b4864a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Jul 2011 23:55:05 +0000 Subject: [PATCH] cmd_part: update help output to reflect current behavior git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1962 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/src/cmd/cmd_part.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/urjtag/src/cmd/cmd_part.c b/urjtag/src/cmd/cmd_part.c index 8523b6b2..96f8fb71 100644 --- a/urjtag/src/cmd/cmd_part.c +++ b/urjtag/src/cmd/cmd_part.c @@ -129,14 +129,12 @@ cmd_part_run (urj_chain_t *chain, char *params[]) static void cmd_part_help (void) { - // @@@@ RFHH this doesn't reflect input syntax: - // jtag> part PART - // jtag> part alias ALIAS urj_log (URJ_LOG_LEVEL_NORMAL, - _("Usage: %s PART\n" - "Change active part for current JTAG chain.\n" - "\n" "PART part number | alias\n"), - "part"); + _("Usage: %s [PART|ALIAS]\n" + "Change active part for current JTAG chain.\n\n" + "Usage: %s ALIAS\n" + "Assign an alias for the active part.\n"), + "part", "part alias"); } const urj_cmd_t urj_cmd_part = {