diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2020-08-23 01:43:21 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-09-05 17:13:10 +0100 |
commit | f788949651ef714024a29b08f4b064e78c9b4791 (patch) | |
tree | 198d808e1f5fbbaaebafc1561076caa19f9381c0 /src/svf/svf.c | |
parent | 25b8b376387724e4c74d0c5d005b15504d44ff4c (diff) | |
download | riscv-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/svf/svf.c')
-rw-r--r-- | src/svf/svf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c index b62cdae..6087034 100644 --- a/src/svf/svf.c +++ b/src/svf/svf.c @@ -1556,7 +1556,7 @@ static const struct command_registration svf_command_handlers[] = { .handler = handle_svf_command, .mode = COMMAND_EXEC, .help = "Runs a SVF file.", - .usage = "svf [-tap device.tap] <file> [quiet] [nil] [progress] [ignore_error]", + .usage = "[-tap device.tap] <file> [quiet] [nil] [progress] [ignore_error]", }, COMMAND_REGISTRATION_DONE }; |