From: BenoƮt Monin Date: Sat, 25 Apr 2015 12:18:28 +0000 (+0200) Subject: rrdrestore: fix typo in option error message X-Git-Tag: v1.5.3~5^2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd9b83a5fcc0a3f25a0ccf2ae480023a56884cd3;p=thirdparty%2Frrdtool-1.x.git rrdrestore: fix typo in option error message --- diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 24a4f379..27365a7c 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -1412,7 +1412,7 @@ int rrd_restore( default: rrd_set_error("usage rrdtool %s [--range-check|-r] " - "[--force-overwrite/-f] file.xml file.rrd", + "[--force-overwrite|-f] file.xml file.rrd", argv[0]); return (-1); break; @@ -1420,8 +1420,8 @@ int rrd_restore( } /* while (42) */ if ((argc - optind) != 2) { - rrd_set_error("usage rrdtool %s [--range-check/-r] " - "[--force-overwrite/-f] file.xml file.rrd", argv[0]); + rrd_set_error("usage rrdtool %s [--range-check|-r] " + "[--force-overwrite|-f] file.xml file.rrd", argv[0]); return (-1); }