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>
This commit is contained in:
David Brownell
2010-01-07 16:41:42 -08:00
parent 82c0fb5277
commit 12c143d594
3 changed files with 9 additions and 7 deletions
+5 -5
View File
@@ -928,22 +928,22 @@ static int jim_mcrmrc(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
static const struct command_registration arm_exec_command_handlers[] = {
{
.name = "reg",
.handler = &handle_armv4_5_reg_command,
.handler = handle_armv4_5_reg_command,
.mode = COMMAND_EXEC,
.help = "display ARM core registers",
},
{
.name = "core_state",
.handler = &handle_armv4_5_core_state_command,
.handler = handle_armv4_5_core_state_command,
.mode = COMMAND_EXEC,
.usage = "<arm | thumb>",
.usage = "['arm'|'thumb']",
.help = "display/change ARM core state",
},
{
.name = "disassemble",
.handler = &handle_armv4_5_disassemble_command,
.handler = handle_armv4_5_disassemble_command,
.mode = COMMAND_EXEC,
.usage = "<address> [<count> ['thumb']]",
.usage = "address [count ['thumb']]",
.help = "disassemble instructions ",
},
{