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
This commit is contained in:
Antonio Borneo
2020-08-23 01:43:21 +02:00
parent 25b8b37638
commit f788949651
4 changed files with 7 additions and 7 deletions

View File

@@ -1036,7 +1036,7 @@ static const struct command_registration nds32_exec_command_handlers[] = {
.name = "login_edm_operation",
.handler = handle_nds32_login_edm_operation_command,
.mode = COMMAND_CONFIG,
.usage = "login_edm_operation misc_reg_no value",
.usage = "misc_reg_no value",
.help = "add EDM operations for secure MCU debugging.",
},
{