[rrd-developers] imginfo/quiet

Richard A. Steenbergen ras at e-gerbil.net
Mon Dec 10 06:31:29 MET 2001


Ok here's one more problem I noticed, the output of the XxY dimensions
defeats the purpose of --imginfo for use in a cgi (if you're not using
rrdcgi), and there doesn't seem to be a way to shut it up.

Here are two methods to do it, the first adds -q/--quiet which surpresses
the output, the second does it automatically if there is a --imginfo
argument.Had to move the output code out of rrd_tool.c and into
rrd_graph.c but that's probably where it belongs anyways.

-- 
Richard A Steenbergen <ras at e-gerbil.net>       http://www.e-gerbil.net/ras
PGP Key ID: 0x138EA177  (67 29 D7 BC E8 18 3E DA  B2 46 B3 D8 14 36 FE B6)


-- Attached file removed by Listar and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 2k (2248 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/quiet-patch


-- Attached file removed by Listar and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 764 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/quiet2-patch


--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list