Code

fix spaceing ... more space for the title and more space the the left of the yaxis...
[rrdtool-all.git] / program / src / rrd_restore.c
index a3d09adb16111d035fbda42ed743b2b2a52e930c..4ca223abd2b9460627b94eed0bfe6ec05cfeb8c8 100644 (file)
@@ -488,6 +488,7 @@ rrd_restore(int argc, char **argv)
        char                    force_overwrite = 0;    
 
     /* init rrd clean */
+    optind = 0; opterr = 0;  /* initialize getopt */
     rrd_init(&rrd);
     if (argc<3) {
                rrd_set_error("usage rrdtool %s [--range-check/-r] [--force-overwrite/-f] file.xml file.rrd",argv[0]);