From: Antonio Borneo Date: Tue, 4 Dec 2018 22:50:02 +0000 (+0100) Subject: target/adi_v5_swd: add "usage" field to command "swd" X-Git-Tag: v0.11.0-rc1~749 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=b6ea92247de948579715379abb591e61e887e7a5 target/adi_v5_swd: add "usage" field to command "swd" The missing field causes runtime debug message BUG: command 'swd' does not have the '.usage' field filled out Change-Id: I5a36c0fc822c4d5d74ef2d1c75e369648c6f7d4d Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/4830 Tested-by: jenkins Reviewed-by: Tomas Vanek --- diff --git a/src/target/adi_v5_swd.c b/src/target/adi_v5_swd.c index d92e2961ef..594b5081fd 100644 --- a/src/target/adi_v5_swd.c +++ b/src/target/adi_v5_swd.c @@ -352,6 +352,7 @@ static const struct command_registration swd_handlers[] = { .mode = COMMAND_ANY, .help = "SWD command group", .chain = swd_commands, + .usage = "", }, COMMAND_REGISTRATION_DONE };