|
From: openocd-gerrit <ope...@us...> - 2023-05-13 09:24:34
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 8d12ae796ead267aeef48467ccd49ec4c2f863ad (commit)
from 85b5c518062f4d77f73cb5f00620ccebd2d7847a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8d12ae796ead267aeef48467ccd49ec4c2f863ad
Author: Paul Fertser <fer...@gm...>
Date: Tue May 2 15:10:11 2023 +0300
jtag: tcl: change drscan usage to show at least one value is required
It's customary to use [] brackets to mean the argument is optional, but
drscan requires at least one pair of "num_bits value" so change it to ().
In common regular expressions * means 0 or more, and + means 1 or more,
so change that too.
Signed-off-by: Paul Fertser <fer...@gm...>
Change-Id: Ib15d833bda2aa398ad1345a042f97d91c98dbf66
Reviewed-on: https://review.openocd.org/c/openocd/+/7653
Tested-by: jenkins
Reviewed-by: Antonio Borneo <bor...@gm...>
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index d792081c4..395439039 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -225,7 +225,7 @@ static const struct command_registration jtag_command_handlers_to_move[] = {
.handler = handle_jtag_command_drscan,
.help = "Execute Data Register (DR) scan for one TAP. "
"Other TAPs must be in BYPASS mode.",
- .usage = "tap_name [num_bits value]* ['-endstate' state_name]",
+ .usage = "tap_name (num_bits value)+ ['-endstate' state_name]",
},
{
.name = "flush_count",
-----------------------------------------------------------------------
Summary of changes:
src/jtag/tcl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Main OpenOCD repository
|