diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-03-26 15:54:33 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-26 09:14:56 +0100 |
commit | a092e8d237e7d23b1b952c4d400d8210523f9ce2 (patch) | |
tree | 869c406bdd912eb1cf5b1303caf42fae70757a20 /src | |
parent | 27b98c2fa548a46bbd2e3f5417160bbfb6eb89a1 (diff) | |
download | riscv-openocd-a092e8d237e7d23b1b952c4d400d8210523f9ce2.zip riscv-openocd-a092e8d237e7d23b1b952c4d400d8210523f9ce2.tar.gz riscv-openocd-a092e8d237e7d23b1b952c4d400d8210523f9ce2.tar.bz2 |
NOR TCL: fix usage message
The command "flash bank" has updated syntax.
Add the mandatory parameter <target> to the usage message
that prints in case of error.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
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 38cb655..fc7169f 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 <name> <driver> " - "<base> <size> <chip_width> <bus_width>"); + "<base> <size> <chip_width> <bus_width> <target>"); return ERROR_COMMAND_SYNTAX_ERROR; } // save bank name and advance arguments for compatibility |