summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-11 18:38:44 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-11 18:45:34 -0800
commit8438dee786d857723e29eef23f897df6b194a793 (patch)
treed1e851ca681f93dfc60e3fc5c6da9c7f759e9b94 /src/flash/nor
parent75c706cc043183d98592dbe3c6f170d627849d0f (diff)
downloadopenocd_libswd-8438dee786d857723e29eef23f897df6b194a793.tar.gz
openocd_libswd-8438dee786d857723e29eef23f897df6b194a793.tar.bz2
openocd_libswd-8438dee786d857723e29eef23f897df6b194a793.tar.xz
openocd_libswd-8438dee786d857723e29eef23f897df6b194a793.zip
fix 'write_image' usage information
The 'flash write_image' command erroneously listed the bank number, when it actually uses target addresses to do that lookup for the user.
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/tcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c
index 5ba941b3..6ab710bb 100644
--- a/src/flash/nor/tcl.c
+++ b/src/flash/nor/tcl.c
@@ -726,7 +726,7 @@ static const struct command_registration flash_exec_command_handlers[] = {
.name = "write_image",
.handler = &handle_flash_write_image_command,
.mode = COMMAND_EXEC,
- .usage = "<bank> [erase] [unlock] <file> [offset] [type]",
+ .usage = "[erase] [unlock] <file> [offset] [type]",
.help = "write an image to flash"
},
{