From fcfbb1792c985dcf1c9b5ae9300c7f24fac53d3a Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 30 Mar 2019 08:43:19 +0100 Subject: [PATCH] drivers/at91rm9200: fix help and usage to command "at91rm9200_device" Add usage and fix the help text of the command Change-Id: I0e157d76f5d87bcda80f82a110912994908c8e03 Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5023 Reviewed-by: Tomas Vanek Tested-by: jenkins --- src/jtag/drivers/at91rm9200.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jtag/drivers/at91rm9200.c b/src/jtag/drivers/at91rm9200.c index 0015da06b..0360ec5de 100644 --- a/src/jtag/drivers/at91rm9200.c +++ b/src/jtag/drivers/at91rm9200.c @@ -183,7 +183,8 @@ static const struct command_registration at91rm9200_command_handlers[] = { .name = "at91rm9200_device", .handler = &at91rm9200_handle_device_command, .mode = COMMAND_CONFIG, - .help = "query armjtagew info", + .help = "Set at91rm9200 device [default \"rea_ecr\"]", + .usage = "", }, COMMAND_REGISTRATION_DONE };