diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2023-03-10 11:41:54 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2023-03-25 18:09:06 +0000 |
commit | 5f6ceebbba3a34fc4bfcf56e963739dd2e9cf056 (patch) | |
tree | f3d755bbcb469478e63c7f26e885750ca1488d0d /src/helper/command.c | |
parent | f8631c3650c0e3a3c3e16726f1ca3748d163cc69 (diff) | |
download | riscv-openocd-5f6ceebbba3a34fc4bfcf56e963739dd2e9cf056.zip riscv-openocd-5f6ceebbba3a34fc4bfcf56e963739dd2e9cf056.tar.gz riscv-openocd-5f6ceebbba3a34fc4bfcf56e963739dd2e9cf056.tar.bz2 |
svf: make command 'svf' syntax consistent
The command 'svf' is the only command in OpenOCD that accepts
options in both forms 'option' and '-option'.
Deprecate the option format without the leading '-'.
Update the documentation and fix the on-line help.
While there:
- switch to use the new nvp.h helper;
- return ERROR_COMMAND_ARGUMENT_INVALID on invalid command args;
- fix some minor coding style rule.
Change-Id: I5b944403d92a3fa1e12d5faafc1d2a139bc16a7d
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7534
Tested-by: jenkins
Diffstat (limited to 'src/helper/command.c')
0 files changed, 0 insertions, 0 deletions