projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rrdfetch: Print a usage summary if not enough parameters have been given. -- Sebastia...
[rrdtool.git]
/
src
/
rrd_fetch.c
diff --git
a/src/rrd_fetch.c
b/src/rrd_fetch.c
index
2c30a98
..
b60ea15
100644
(file)
--- a/
src/rrd_fetch.c
+++ b/
src/rrd_fetch.c
@@
-163,7
+163,7
@@
int rrd_fetch(
*step = step_tmp;
if (optind + 1 >= argc) {
- rrd_set_error("
not enough arguments"
);
+ rrd_set_error("
Usage: rrdtool %s <file> <CF> [options]", argv[0]
);
return -1;
}