projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collectdctl: Improved error reporting.
[collectd.git]
/
src
/
collectdctl.c
diff --git
a/src/collectdctl.c
b/src/collectdctl.c
index
adf45c9
..
cc19509
100644
(file)
--- a/
src/collectdctl.c
+++ b/
src/collectdctl.c
@@
-271,6
+271,10
@@
static int flush (lcc_connection_t *c, int argc, char **argv)
if (status != 0)
BAIL_OUT (status);
}
+ else {
+ fprintf (stderr, "ERROR: flush: Unknown option `%s'.\n", key);
+ BAIL_OUT (-1);
+ }
}
if (plugins_num == 0) {