]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Fix --add-jsontime error message
authornetniV <netniv@hotmail.com>
Sun, 5 Jul 2020 12:02:01 +0000 (12:02 +0000)
committernetniV <netniv@hotmail.com>
Sun, 5 Jul 2020 12:02:01 +0000 (12:02 +0000)
src/rrd_graph.c

index 4c574656a7469c5aeea18acefa033d9258e66a82..f80542cf56001d71a446db71b0b5d75d736782dc 100644 (file)
@@ -5108,7 +5108,7 @@ void rrd_graph_options(
             break;
         case LONGOPT_ADD_JSONTIME:
             if (im->extra_flags & FORCE_JSONTIME) {
-                rrd_set_error("--units can only be used once!");
+                rrd_set_error("--add-jsontime can only be used once!");
                 return;
             }
             im->extra_flags |= FORCE_JSONTIME;