From adeb3616f472f1c03843fab542315dab765ed540 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 30 Jun 2011 02:53:27 +0000 Subject: [PATCH] cmd_bfin: update help description to include all the possible commands git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1929 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 4 ++++ urjtag/src/cmd/cmd_bfin.c | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 40dbb8db..5aa55d1e 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -10,6 +10,10 @@ * src/cmd/cmd_bfin.c (cmd_bfin_run): Make sure the part is in emulation mode first before attempting a reset (since we need to be). + * src/cmd/cmd_bfin.c (cmd_bfin_help): Update help description to include + all of the sub-commands actually supported. Pull out the const strings + (things you actually type) out of the translated string. + 2011-06-27 Jie Zhang * include/urjtag/Makefile.am (nodist_pkginclude_HEADERS): New and diff --git a/urjtag/src/cmd/cmd_bfin.c b/urjtag/src/cmd/cmd_bfin.c index 5e404dfa..3de5cb79 100644 --- a/urjtag/src/cmd/cmd_bfin.c +++ b/urjtag/src/cmd/cmd_bfin.c @@ -498,14 +498,16 @@ static void cmd_bfin_help (void) { urj_log (URJ_LOG_LEVEL_NORMAL, - _("Usage: %s execute INSTRUCTIONs\n" - "Usage: %s emulation enter|exit|singlestep|status\n" - "Usage: %s reset [core|system]\n" + _("Usage: %s INSTRUCTIONs\n" + "Usage: %s\n" + "Usage: %s\n" "Blackfin specific commands\n" "\n" "INSTRUCTIONs are a sequence of Blackfin encoded instructions,\n" "double quoted assembly statements and [EMUDAT_IN]s\n"), - "bfin", "bfin", "bfin" ); + "bfin execute", + "bfin emulation enable|trigger|enter|return|disable|exit|singlestep|status", + "bfin reset [core|system]"); } static void