Code

add 'm' as a shortcut for 'zoom' in rrd_graph (1.4 code+docu)
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 22 Mar 2010 09:05:39 +0000 (09:05 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 22 Mar 2010 09:05:39 +0000 (09:05 +0000)
(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

program/doc/rrdgraph.pod
program/src/rrd_graph.c

index e40b046bec1a809b4c1d1c3058e8a22e97749e49..fbc217be378e2768a49d16d2307a4408b2355895 100644 (file)
@@ -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<factor>]
+[B<-m>|B<--zoom> I<factor>]
 
 Zoom the graphics by the given amount. The factor must be E<gt> 0
 
index 9e23a4af06efa10ec652a8643cc0528c80211196..8f7e8b9ae13d115664e307b68b321794a82c0cde 100644 (file)
@@ -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;