clarify/unify help text output for signal/dr commmands

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1898 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Mike Frysinger 14 years ago
parent 75e7659f31
commit c2386b8294

@ -9,6 +9,8 @@
parts that default to IDCODE or BYPASS since both are acceptable to the
JTAG IEEE standard.
* src/cmd/cmd_dr.c, src/cmd/cmd_signal.c: Touch up help text a bit more.
2011-02-24 Mike Frysinger <vapier@gentoo.org>
* src/tap/cable/ft2232.c: Rename user-facing cable string from

@ -108,16 +108,16 @@ static void
cmd_dr_help (void)
{
urj_log (URJ_LOG_LEVEL_NORMAL,
_("Usage: %s [DIR]\n"
"Usage: %s BITSTRING\n"
"Usage: %s HEXSTRING\n"
_("Usage: %1$s [DIR]\n"
"Usage: %1$s BITSTRING\n"
"Usage: %1$s HEXSTRING\n"
"Display input or output data register content or set current register.\n"
"\n"
"DIR requested data register; possible values: 'in' for\n"
" input and 'out' for output; default is 'out'\n"
"BITSTRING set current data register with BITSTRING (e.g. 01010)\n"
"HEXSTRING set current data register with HEXSTRING (e.g. 0x123)\n"),
"dr", "dr", "dr");
"DIR requested data register; possible values: 'in' for\n"
" input and 'out' for output; default is 'out'\n"
"BITSTRING set current data register with BITSTRING (e.g. 01010)\n"
"HEXSTRING set current data register with HEXSTRING (e.g. 0x123)\n"),
"dr");
}
const urj_cmd_t urj_cmd_dr = {

@ -97,7 +97,7 @@ cmd_signal_help (void)
"Define new signal with name SIGNAL for a part.\n"
"\n"
"SIGNAL New signal name\n"
"PIN# List of pin # for a signal\n"),
"PIN# List of pin # for a signal\n"),
"signal");
}

Loading…
Cancel
Save