src/rrd_client.h: Renamed the defines to be more consistent with other names.
[rrdtool.git] / src / rrd_update.c
index 681dcc4..2602a82 100644 (file)
@@ -377,8 +377,6 @@ int rrd_update(
 {
     struct option long_options[] = {
         {"template", required_argument, 0, 't'},
-        {"cache",    optional_argument, 0, 'c'},
-        {"nocache",  no_argument      , 0, 'n'},
         {"daemon",   required_argument, 0, 'd'},
         {0, 0, 0, 0}
     };
@@ -392,7 +390,7 @@ int rrd_update(
     opterr = 0;         /* initialize getopt */
 
     while (1) {
-        opt = getopt_long(argc, argv, "t:cnd:", long_options, &option_index);
+        opt = getopt_long(argc, argv, "t:d:", long_options, &option_index);
 
         if (opt == EOF)
             break;