From: oetiker Date: Thu, 22 Sep 2005 20:17:42 +0000 (+0000) Subject: the -r option should not expect an argument X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=874c9bd6cf7c4df20aaca5b63383fb9b08793eae;p=rrdtool-all.git the -r option should not expect an argument git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@688 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_restore.c b/program/src/rrd_restore.c index 68923b54..c907ee43 100644 --- a/program/src/rrd_restore.c +++ b/program/src/rrd_restore.c @@ -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;