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 68923b5..c907ee4 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;