forked from auracaster/openocd
Set empty usage field for commands that do not need parameters
The missing field causes runtime debug message BUG: command '%s' does not have the '.usage' field filled out While there, fix some minor typo in the help messages: s/deasert/deassert/ s/Deasert/Deassert/ Change-Id: If3dd18265cda103ca0d05609f67f4ca58e7cbb27 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5024 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
committed by
Tomas Vanek
parent
b6ea92247d
commit
b61e454869
@@ -1217,7 +1217,8 @@ static const struct command_registration at91samd_exec_command_handlers[] = {
|
||||
.name = "dsu_reset_deassert",
|
||||
.handler = samd_handle_reset_deassert,
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Deasert internal reset held by DSU."
|
||||
.help = "Deassert internal reset held by DSU.",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name = "info",
|
||||
@@ -1225,6 +1226,7 @@ static const struct command_registration at91samd_exec_command_handlers[] = {
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Print information about the current at91samd chip "
|
||||
"and its flash configuration.",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name = "chip-erase",
|
||||
@@ -1232,6 +1234,7 @@ static const struct command_registration at91samd_exec_command_handlers[] = {
|
||||
.mode = COMMAND_EXEC,
|
||||
.help = "Erase the entire Flash by using the Chip-"
|
||||
"Erase feature in the Device Service Unit (DSU).",
|
||||
.usage = "",
|
||||
},
|
||||
{
|
||||
.name = "set-security",
|
||||
|
||||
Reference in New Issue
Block a user