summaryrefslogtreecommitdiff
path: root/src/target/arm9tdmi.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 16:41:42 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-07 16:41:42 -0800
commit12c143d5948355b3b54c9c0decc779177b22d5d9 (patch)
treecad536e79441c8b49dc9e3f3841abaa66db49e80 /src/target/arm9tdmi.c
parent82c0fb527783a56f7cf82e21b85546b425378b00 (diff)
downloadopenocd+libswd-12c143d5948355b3b54c9c0decc779177b22d5d9.tar.gz
openocd+libswd-12c143d5948355b3b54c9c0decc779177b22d5d9.tar.bz2
openocd+libswd-12c143d5948355b3b54c9c0decc779177b22d5d9.tar.xz
openocd+libswd-12c143d5948355b3b54c9c0decc779177b22d5d9.zip
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 <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm9tdmi.c')
-rw-r--r--src/target/arm9tdmi.c4
1 files changed, 3 insertions, 1 deletions
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
};