From 12c143d5948355b3b54c9c0decc779177b22d5d9 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 7 Jan 2010 16:41:42 -0800 Subject: misc ARM help/usage updates Usage syntax messages have the same EBNF as the User's Guide; there should be no angle brackets in either place. Uupdate some helptext to be more accurate. Don't use "&function"; functions are like arrays, their address is their name. Signed-off-by: David Brownell --- src/target/arm9tdmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/target/arm9tdmi.c') diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c index ae0c4e05..823e962e 100644 --- a/src/target/arm9tdmi.c +++ b/src/target/arm9tdmi.c @@ -918,7 +918,9 @@ static const struct command_registration arm9tdmi_exec_command_handlers[] = { .name = "vector_catch", .handler = handle_arm9tdmi_catch_vectors_command, .mode = COMMAND_EXEC, - .usage = "[all|none|reset|undef|swi|pabt|dabt|irq|fiq] ...", + .help = "Display, after optionally updating, configuration " + "of vector catch unit.", + .usage = "[all|none|(reset|undef|swi|pabt|dabt|irq|fiq)*]", }, COMMAND_REGISTRATION_DONE }; -- cgit v1.2.3