From: Tobias Oetiker Date: Thu, 22 Sep 2005 20:17:42 +0000 (+0000) Subject: the -r option should not expect an argument X-Git-Tag: 1.2.12~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5ce207a0d597c74b6581d645eeacc73d33f871;p=thirdparty%2Frrdtool-1.x.git the -r option should not expect an argument git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@688 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 68923b54..c907ee43 100644 --- a/src/rrd_restore.c +++ b/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;