From: oetiker Date: Mon, 22 Mar 2010 09:05:39 +0000 (+0000) Subject: add 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ff754f746d167bf92f11f41a8cce2d3bb8fa4661;p=rrdtool-all.git add 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu) (1.3 only docu). Fix for Debian Bug 573299 provided by Sebastian Harl git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2033 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/doc/rrdgraph.pod b/program/doc/rrdgraph.pod index e40b046b..fbc217be 100644 --- a/program/doc/rrdgraph.pod +++ b/program/doc/rrdgraph.pod @@ -354,7 +354,7 @@ color. Pick the shape of the color marker next to the label according to the element drawn on the graph. -[B<--zoom> I] +[B<-m>|B<--zoom> I] Zoom the graphics by the given amount. The factor must be E 0 diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 9e23a4af..8f7e8b9a 100644 --- a/program/src/rrd_graph.c +++ b/program/src/rrd_graph.c @@ -4215,7 +4215,7 @@ void rrd_graph_options( int col_start, col_end; opt = getopt_long(argc, argv, - "Aa:B:b:c:Dd:Ee:Ff:G:gh:IiJjL:l:Nn:Bb:oPR:rS:s:T:t:u:v:W:w:X:x:Yy:z", + "Aa:B:b:c:Dd:Ee:Ff:G:gh:IiJjL:l:Mm:Nn:oPR:rS:s:T:t:u:v:W:w:X:x:Yy:z", long_options, &option_index); if (opt == EOF) break;