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=7729842a4bf200e5eaf5021345602326b0fb10fb;p=rrdtool-all.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@747 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c index 2e0bf9cf..81c4bae9 100644 --- a/program/src/rrd_tool.c +++ b/program/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