projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a601afd
)
com_stat(): Return a proper error message if an invalid option was given.
author
Andre Noll
<maan@systemlinux.org>
Sun, 5 Jul 2009 20:38:22 +0000
(22:38 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 5 Jul 2009 20:38:22 +0000
(22:38 +0200)
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/command.c
index 70aefae10738cd0eaed813e47fe17602b0c531c7..90c4b60846c5c6cade80316f57bef742fdc7e716 100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-367,6
+367,7
@@
int com_stat(struct rc4_context *rc4c, int argc, char * const * argv)
parser_friendly = 1;
continue;
}
+ return -E_COMMAND_SYNTAX;
}
if (i != argc)
return -E_COMMAND_SYNTAX;