This is an automated email from Gerrit.

Marc Schink ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5299

-- gerrit

commit 54fc656d96750704bba2a3bcbc97f1e9e82c60bd
Author: Marc Schink <[email protected]>
Date:   Wed Sep 11 11:08:29 2019 +0200

    flash/nor/tcl: Fix usage of 'flash erase_sector' command
    
    Change-Id: I2141e377a0531cab8d1140049a2ee7721d30cfdc
    Signed-off-by: Marc Schink <[email protected]>

diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c
index b336cff..bd313a0 100644
--- a/src/flash/nor/tcl.c
+++ b/src/flash/nor/tcl.c
@@ -985,7 +985,7 @@ static const struct command_registration 
flash_exec_command_handlers[] = {
                .name = "erase_sector",
                .handler = handle_flash_erase_command,
                .mode = COMMAND_EXEC,
-               .usage = "bank_id first_sector_num last_sector_num",
+               .usage = "bank_id first_sector_num (last_sector_num|'last')",
                .help = "Erase a range of sectors in a flash bank.",
        },
        {

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to