]> git.sur5r.net Git - openocd/commitdiff
- typo with flash bank help command
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Dec 2008 15:53:45 +0000 (15:53 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Dec 2008 15:53:45 +0000 (15:53 +0000)
- typo with flash erase_sector in texi

git-svn-id: svn://svn.berlios.de/openocd/trunk@1225 b42882b7-edfa-0310-969c-e2dbd0fdcd60

doc/openocd.texi
src/flash/flash.c

index 322be28f24c7c856a946bb456c41701421801928..d35dd599d121b014b3f8adb76d0ac7e336e1d7cd 100644 (file)
@@ -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}
index 64269c2df3a9b2cfa845038ccac748033c100b96..e3e9365eb4fde6880f52edbe7b8d08c9ed022707 100644 (file)
@@ -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;
 }