From 8438dee786d857723e29eef23f897df6b194a793 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Fri, 11 Dec 2009 18:38:44 -0800 Subject: [PATCH] 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. --- src/flash/nor/tcl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }, { -- 2.39.5