From 583f6f5af38d7dc1892ef627713abca25e303cd2 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 22 Mar 2010 09:05:39 +0000 Subject: [PATCH] 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/program@2033 a5681a0c-68f1-0310-ab6d-d61299d08faa --- doc/rrdgraph.pod | 2 +- src/rrd_graph.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index e40b046..fbc217b 100644 --- a/doc/rrdgraph.pod +++ b/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/src/rrd_graph.c b/src/rrd_graph.c index 9e23a4a..8f7e8b9 100644 --- a/src/rrd_graph.c +++ b/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; -- 2.30.2