aboutsummaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2020-08-23 01:43:21 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2020-09-05 17:13:10 +0100
commitf788949651ef714024a29b08f4b064e78c9b4791 (patch)
tree198d808e1f5fbbaaebafc1561076caa19f9381c0 /src/jtag
parent25b8b376387724e4c74d0c5d005b15504d44ff4c (diff)
downloadriscv-openocd-f788949651ef714024a29b08f4b064e78c9b4791.zip
riscv-openocd-f788949651ef714024a29b08f4b064e78c9b4791.tar.gz
riscv-openocd-f788949651ef714024a29b08f4b064e78c9b4791.tar.bz2
openocd: fix command's usage string
The usage string should contain only the command parameters. OpenOCD will automatically prepend the command name to the usage string while dumping the usage or help message. Remove the repeated command name from the usage string. Change-Id: If10a0f1c254aee302b9ca08958390b7f21cdb21b Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5824 Tested-by: jenkins
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/hla/hla_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c
index 7be9b2d..490eb9f 100644
--- a/src/jtag/hla/hla_interface.c
+++ b/src/jtag/hla/hla_interface.c
@@ -341,7 +341,7 @@ static const struct command_registration hl_interface_command_handlers[] = {
.handler = &interface_handle_hla_command,
.mode = COMMAND_EXEC,
.help = "execute a custom adapter-specific command",
- .usage = "hla_command <command>",
+ .usage = "<command>",
},
COMMAND_REGISTRATION_DONE
};