This is an automated email from Gerrit.

"Mark O'Donovan <[email protected]>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/9600

-- gerrit

commit 210170cf963a75bf43214674cd929c5b7bca6a53
Author: Mark O'Donovan <[email protected]>
Date:   Mon Apr 27 22:08:20 2026 +0100

    Fix target usage text (underscore -> dash)
    
    Fixed this issue in multiple places.
    
    Change-Id: I44853774ea6b5dbbf57e7db73f896211b8eec655
    Signed-off-by: Mark O'Donovan <[email protected]>

diff --git a/src/jtag/hla/hla_transport.c b/src/jtag/hla/hla_transport.c
index d8ece0776b..50d2d3e21b 100644
--- a/src/jtag/hla/hla_transport.c
+++ b/src/jtag/hla/hla_transport.c
@@ -41,7 +41,7 @@ static const struct command_registration 
hl_swd_transport_subcommand_handlers[]
         .help = "declare a new SWD DAP",
         .usage = "basename dap_type ['-irlen' count] "
                        "['-enable'|'-disable'] "
-                       "['-expected_id' number] "
+                       "['-expected-id' number] "
                        "['-ignore-version'] "
                        "['-ignore-bypass'] "
                        "['-ircapture' number] "
@@ -71,7 +71,7 @@ static const struct command_registration 
hl_transport_jtag_subcommand_handlers[]
         "and appends it to the scan chain.",
         .usage = "basename tap_type '-irlen' count "
                        "['-enable'|'-disable'] "
-                       "['-expected_id' number] "
+                       "['-expected-id' number] "
                        "['-ignore-version'] "
                        "['-ignore-bypass'] "
                        "['-ircapture' number] "
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c
index 9cffd6b5d1..90d6799abc 100644
--- a/src/jtag/tcl.c
+++ b/src/jtag/tcl.c
@@ -719,7 +719,7 @@ static const struct command_registration 
jtag_subcommand_handlers[] = {
                        "and appends it to the scan chain.",
                .usage = "basename tap_type '-irlen' count "
                        "['-enable'|'-disable'] "
-                       "['-expected_id' number] "
+                       "['-expected-id' number] "
                        "['-ignore-version'] "
                        "['-ignore-bypass'] "
                        "['-ircapture' number] "
diff --git a/src/target/adi_v5_dapdirect.c b/src/target/adi_v5_dapdirect.c
index 07ea313d19..12d1a68815 100644
--- a/src/target/adi_v5_dapdirect.c
+++ b/src/target/adi_v5_dapdirect.c
@@ -62,7 +62,7 @@ static const struct command_registration 
dapdirect_jtag_subcommand_handlers[] =
                .help = "declare a new TAP",
                .usage = "basename tap_type '-irlen' count "
                        "['-enable'|'-disable'] "
-                       "['-expected_id' number] "
+                       "['-expected-id' number] "
                        "['-ignore-version'] "
                        "['-ignore-bypass'] "
                        "['-ircapture' number] "
@@ -154,7 +154,7 @@ static const struct command_registration 
dapdirect_swd_subcommand_handlers[] = {
                .help = "declare a new SWD DAP",
                .usage = "basename dap_type ['-irlen' count] "
                        "['-enable'|'-disable'] "
-                       "['-expected_id' number] "
+                       "['-expected-id' number] "
                        "['-ignore-version'] "
                        "['-ignore-bypass'] "
                        "['-ircapture' number] "
diff --git a/src/target/adi_v5_swd.c b/src/target/adi_v5_swd.c
index 57d2d5929c..3c27224f5e 100644
--- a/src/target/adi_v5_swd.c
+++ b/src/target/adi_v5_swd.c
@@ -700,7 +700,7 @@ static const struct command_registration swd_commands[] = {
                .help = "declare a new SWD DAP",
                .usage = "basename dap_type ['-irlen' count] "
                        "['-enable'|'-disable'] "
-                       "['-expected_id' number] "
+                       "['-expected-id' number] "
                        "['-ignore-version'] "
                        "['-ignore-bypass'] "
                        "['-ircapture' number] "

-- 

Reply via email to