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:
@@ -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.",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user