From 70796e7e937e00b8dcdea735c80b5d402b96d4d9 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 15 Jan 2006 12:31:03 +0000 Subject: [PATCH] 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 --- src/rrd_tool.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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