From: Antonio Borneo Date: Fri, 26 Mar 2010 07:54:33 +0000 (+0800) Subject: NOR TCL: fix usage message X-Git-Tag: v0.5.0-rc1~793 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a092e8d237e7d23b1b952c4d400d8210523f9ce2;p=openocd NOR TCL: fix usage message The command "flash bank" has updated syntax. Add the mandatory parameter to the usage message that prints in case of error. Signed-off-by: Antonio Borneo --- diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index 38cb6558..fc7169f0 100644 --- a/src/flash/nor/tcl.c +++ b/src/flash/nor/tcl.c @@ -789,7 +789,7 @@ COMMAND_HANDLER(handle_flash_bank_command) if (CMD_ARGC < 7) { LOG_ERROR("usage: flash bank " - " "); + " "); return ERROR_COMMAND_SYNTAX_ERROR; } // save bank name and advance arguments for compatibility