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/program@2033 a5681a0c-68f1-0310-ab6d-d61299d08faa

doc/rrdgraph.pod
src/rrd_graph.c

index e40b046..fbc217b 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 9e23a4a..8f7e8b9 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;