added alt-y-mrtg option as a dummy so that old apps who use it do not crash when...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 16 May 2005 09:01:01 +0000 (09:01 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 16 May 2005 09:01:01 +0000 (09:01 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@562 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_graph.c

index a258685..7db7590 100644 (file)
@@ -2928,6 +2928,7 @@ rrd_graph_options(int argc, char *argv[],image_desc_t *im)
             {"tabwidth",   required_argument, 0,    'T'},            
            {"font-render-mode", required_argument, 0, 'R'},
            {"font-smoothing-threshold", required_argument, 0, 'B'},
+           {"alt-y-mrtg", no_argument,       0,  1000}, /* this has no effect it is just here to save old apps from crashing when they use it */
            {0,0,0,0}};
        int option_index = 0;
        int opt;