summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-11 15:53:45 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-11 15:53:45 +0000
commita53c304319f7d6c41bc2e7544193ac08f0fe50dd (patch)
tree7f4e0cc8a6a3cad2934806f3652d4b9ed7e56e85
parent00b3eb5fed59b87da16590bdfd8e0c682af7c891 (diff)
downloadopenocd+libswd-a53c304319f7d6c41bc2e7544193ac08f0fe50dd.tar.gz
openocd+libswd-a53c304319f7d6c41bc2e7544193ac08f0fe50dd.tar.bz2
openocd+libswd-a53c304319f7d6c41bc2e7544193ac08f0fe50dd.tar.xz
openocd+libswd-a53c304319f7d6c41bc2e7544193ac08f0fe50dd.zip
- typo with flash bank help command
- typo with flash erase_sector in texi git-svn-id: svn://svn.berlios.de/openocd/trunk@1225 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--doc/openocd.texi2
-rw-r--r--src/flash/flash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 322be28f..d35dd599 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -1950,7 +1950,7 @@ updated information.
@cindex flash protect_check
@*Check protection state of sectors in flash bank <num>.
@option{flash erase_sector} using the same syntax.
-@subsection fash erase_sector
+@subsection flash erase_sector
@b{flash erase_sector} <@var{num}> <@var{first}> <@var{last}>
@cindex flash erase_sector
@anchor{flash erase_sector}
diff --git a/src/flash/flash.c b/src/flash/flash.c
index 64269c2d..e3e9365e 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -144,7 +144,7 @@ int flash_register_commands(struct command_context_s *cmd_ctx)
{
flash_cmd = register_command(cmd_ctx, NULL, "flash", NULL, COMMAND_ANY, NULL);
- register_command(cmd_ctx, flash_cmd, "bank", handle_flash_bank_command, COMMAND_CONFIG, "flash_bank <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]");
+ register_command(cmd_ctx, flash_cmd, "bank", handle_flash_bank_command, COMMAND_CONFIG, "flash bank <driver> <base> <size> <chip_width> <bus_width> <target> [driver_options ...]");
return ERROR_OK;
}