Code

the -r option should not expect an argument
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 22 Sep 2005 20:17:42 +0000 (20:17 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 22 Sep 2005 20:17:42 +0000 (20:17 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@688 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_restore.c

index 68923b54f31b279edfdf59ca93c19890878bbd1d..c907ee438f6247fca842205a2bdb2c122b27f468 100644 (file)
@@ -504,7 +504,7 @@ rrd_restore(int argc, char **argv)
                int opt;
                
                
-               opt = getopt_long(argc, argv, "r:f", long_options, &option_index);
+               opt = getopt_long(argc, argv, "rf", long_options, &option_index);
                
                if (opt == EOF)
                        break;