From: oetiker Date: Sun, 15 Jan 2006 12:31:03 +0000 (+0000) Subject: make sure the image size only gets printed from rrd_tool when --imageinfo is NOT... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=70796e7e937e00b8dcdea735c80b5d402b96d4d9;p=rrdtool.git make sure the image size only gets printed from rrd_tool when --imageinfo is NOT set. git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@747 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 2e0bf9c..81c4bae 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -650,8 +650,15 @@ int HandleInputLine(int argc, char **argv, FILE* out) double ymin,ymax; int i; int tostdout = (strcmp(argv[2],"-") == 0); + int imginfo = 0; + for (i=2;i