X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_fetch.c;h=b46ba7a25bd2e36f3b3f42419978a18082f88fa0;hb=19f031713115921bebf5949ce63926d66dd8c6a5;hp=2c30a980735dd40f24b6fb575672ea6e8c1ef865;hpb=9e56458803c05e1b98591818412a08ffcf3f0401;p=rrdtool.git diff --git a/src/rrd_fetch.c b/src/rrd_fetch.c index 2c30a98..b46ba7a 100644 --- a/src/rrd_fetch.c +++ b/src/rrd_fetch.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.3.2 Copyright by Tobi Oetiker, 1997-2008 + * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 ***************************************************************************** * rrd_fetch.c read date from an rrd to use for further processing ***************************************************************************** @@ -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; }