Commit 6e957116 authored by Antonio Borneo's avatar Antonio Borneo Committed by Tomas Vanek

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: default avatarAntonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5022Reviewed-by: default avatarTomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
parent 80ca927e
...@@ -1177,9 +1177,10 @@ static const struct command_registration str9xpec_config_command_handlers[] = { ...@@ -1177,9 +1177,10 @@ static const struct command_registration str9xpec_config_command_handlers[] = {
}, },
{ {
.name = "part_id", .name = "part_id",
.usage = "<bank>",
.handler = str9xpec_handle_part_id_command, .handler = str9xpec_handle_part_id_command,
.mode = COMMAND_EXEC, .mode = COMMAND_EXEC,
.help = "print part id of str9xpec flash bank <num>", .help = "print part id of str9xpec flash bank",
}, },
COMMAND_REGISTRATION_DONE COMMAND_REGISTRATION_DONE
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment