X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_fetch.c;h=b60ea158e53223651b6ac4c54a100c38f97fd000;hb=f7e067b75a9ed10d757c60ff1fda4f747b9ea26b;hp=2c30a980735dd40f24b6fb575672ea6e8c1ef865;hpb=9e56458803c05e1b98591818412a08ffcf3f0401;p=rrdtool.git diff --git a/src/rrd_fetch.c b/src/rrd_fetch.c index 2c30a98..b60ea15 100644 --- 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 [options]", argv[0]); return -1; }