projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change return value on error.
[fw/openocd]
/
src
/
xsvf
/
xsvf.c
diff --git
a/src/xsvf/xsvf.c
b/src/xsvf/xsvf.c
index 14b9e28d89c56a7a00c6e379a74921599ec429aa..9fda8e382ddcfbf316da376643e2c686c68b756f 100644
(file)
--- a/
src/xsvf/xsvf.c
+++ b/
src/xsvf/xsvf.c
@@
-221,8
+221,7
@@
COMMAND_HANDLER(handle_xsvf_command)
if (CMD_ARGC < 2)
{
- command_print(CMD_CTX, "usage: xsvf <device#|plain> <file> [<variant>] [quiet]");
- return ERROR_FAIL;
+ return ERROR_COMMAND_SYNTAX_ERROR;
}
/* we mess with CMD_ARGV starting point below, snapshot filename here */