diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-11 18:38:44 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-11 18:45:34 -0800 |
commit | 8438dee786d857723e29eef23f897df6b194a793 (patch) | |
tree | d1e851ca681f93dfc60e3fc5c6da9c7f759e9b94 /src | |
parent | 75c706cc043183d98592dbe3c6f170d627849d0f (diff) | |
download | openocd+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')
-rw-r--r-- | src/flash/nor/tcl.c | 2 |
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" }, { |