Code

fix spaceing ... more space for the title and more space the the left of the yaxis...
[rrdtool-all.git] / program / src / rrd_create.c
index 90c38d338e9056d57e91f2152c9fc5cf0562d3cc..95dbc143ed035c4ea7e053628e49bdd8998bd4e2 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * RRDtool 1.1.x  Copyright Tobias Oetiker, 1997 - 2002
+ * RRDtool 1.2.0  Copyright by Tobi Oetiker, 1997-2005
  *****************************************************************************
  * rrd_create.c  creates new rrds
  *****************************************************************************/
@@ -23,6 +23,7 @@ rrd_create(int argc, char **argv)
     char *parsetime_error = NULL;
     long              long_tmp;
     int               rc;
+    optind = 0; opterr = 0;  /* initialize getopt */
 
     while (1){
        static struct option long_options[] =