[rrd-developers] Bug#573299: rrdtool: ERROR: unknown option 'M'
tobi at oetiker.ch
Mon Mar 22 10:07:06 CET 2010
thanks ... I integrated it in r2033
Yesterday Sebastian Harl wrote:
> tags 573299 + patch pending
> (This is a follow-up to Debian bug #573299 -- see
> <http://bugs.debian.org/573299> for details.)
> On Wed, Mar 10, 2010 at 02:17:20PM +0100, Ralf Hildebrandt wrote:
> > /usr/bin/rrdtool graph '/usr/share/serverstats/graph/23e14748c7e0282b6acbbc1bd26e1fea.png' -t
> > 'CPU usage' -s '-86400' -a 'PNG' -w '500' -h '150' -u '100' -l '0' -M -z
> > results in:
> > ERROR: unknown option 'M'
> > Yet the man page says:
> > # rrdtool help graph |grep M
> > [-M|--alt-autoscale-max]
> > [COMMENT:text]
> Thanks for reporting this!
> The attached, trivial patch fixes this issue.
> Also, since getopt_long() was told to return `m' to indicate the
> ``--zoom'' option, I presume that `-m' was supposed to be supported as
> well. Thus, I've added support for that as well and documented that in
> the rrdgraph(1) manpage.
> Tobi, is that fine for you?
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers