diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-03-30 08:39:26 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-04-07 08:18:40 +0100 |
commit | 6e9571164b4461dde96201a0676783c60151642f (patch) | |
tree | 6d42987302932d29d14d26a6c9900c216057ade3 /src/flash | |
parent | 80ca927ebc2bb1ca18aff70215222d55c1f196f8 (diff) | |
download | riscv-openocd-6e9571164b4461dde96201a0676783c60151642f.zip riscv-openocd-6e9571164b4461dde96201a0676783c60151642f.tar.gz riscv-openocd-6e9571164b4461dde96201a0676783c60151642f.tar.bz2 |
flash/nor/str9xpec: fix help and usage for command "part_id"
Remove the numeric parameter <bank> from help and add it to usage
Change-Id: I630ca5450955210299f54e16fe5c9e8e51b3b266
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5022
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nor/str9xpec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/nor/str9xpec.c b/src/flash/nor/str9xpec.c index b618706..37d8053 100644 --- a/src/flash/nor/str9xpec.c +++ b/src/flash/nor/str9xpec.c @@ -1177,9 +1177,10 @@ static const struct command_registration str9xpec_config_command_handlers[] = { }, { .name = "part_id", + .usage = "<bank>", .handler = str9xpec_handle_part_id_command, .mode = COMMAND_EXEC, - .help = "print part id of str9xpec flash bank <num>", + .help = "print part id of str9xpec flash bank", }, COMMAND_REGISTRATION_DONE }; |