From: Zachary T Welch Date: Sat, 12 Dec 2009 02:38:44 +0000 (-0800) Subject: fix 'write_image' usage information X-Git-Tag: v0.4.0-rc1~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8438dee786d857723e29eef23f897df6b194a793;p=openocd 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. --- 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 = " [erase] [unlock] [offset] [type]", + .usage = "[erase] [unlock] [offset] [type]", .help = "write an image to flash" }, {