From b61e454869c988e7fafc1c16982ccfec04415b51 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 4 Jan 2019 18:16:00 +0100 Subject: 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 Reviewed-on: http://openocd.zylin.com/5024 Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/flash/nor/numicro.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/flash/nor/numicro.c') diff --git a/src/flash/nor/numicro.c b/src/flash/nor/numicro.c index 8d8abd5..47f9a88 100644 --- a/src/flash/nor/numicro.c +++ b/src/flash/nor/numicro.c @@ -1856,6 +1856,7 @@ static const struct command_registration numicro_exec_command_handlers[] = { .handler = numicro_handle_chip_erase_command, .mode = COMMAND_EXEC, .help = "chip erase through ISP.", + .usage = "", }, COMMAND_REGISTRATION_DONE }; -- cgit v1.1