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=66a8bb73b678773a3879b1abac9e78ecfa1a7961;p=rrdtool.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 68923b5..c907ee4 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;