]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
rrdrestore: fix typo in option error message
authorBenoît Monin <benoit.monin@gmx.fr>
Sat, 25 Apr 2015 12:18:28 +0000 (14:18 +0200)
committerBenoît Monin <benoit.monin@gmx.fr>
Sat, 25 Apr 2015 20:54:52 +0000 (22:54 +0200)
src/rrd_restore.c

index 24a4f37997dd1a316d7926157b2e944bb3851288..27365a7cfe18d69885c971fbd054f4c649c337a0 100644 (file)
@@ -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);
     }