60c60 < while ((ch = getopt(argc, argv, "c:dhmDt:vz")) != EOF) --- > while ((ch = getopt(argc, argv, "c:dhmDt:vzZp:")) != EOF) 90a91,93 > case 'Z': > set.smartzeros = TRUE; > break; 135a139,148 > /* we need to set the zero insert interval for smartzeros */ > /* we do this by taking the size of the interval and divide */ > /* it by the number of seconds in an hour. we then use this */ > /* number to insert a zero value on every X number of polls */ > if(set.smartzeros) { > set.smartzeros = SECINHOUR / set.interval; > if(set.smartzeros == 0) set.smartzeros = 1; > debug(DEBUG,"We are using a zero insert interval of %d\n",set.smartzeros); > } > 310a324 > printf(" -Z Database smart zero delta inserts\n");