From 0168e3a2d1a711284160641f41b37b56709db51d Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 1 May 2013 16:44:20 +0200 Subject: [PATCH] graph: rename --missing-ds to --use-nan-for-all-missing-data --- doc/rrdgraph.pod | 2 +- src/rrd_graph.c | 2 +- src/rrd_tool.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index 384f5fbb..5a8b417f 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -488,7 +488,7 @@ measurement, 1 kb/s is 1000 b/s. Adds the given string as a watermark, horizontally centered, at the bottom of the graph. -[B<-Z>|B<--missing-ds>] +[B<-Z>|B<--use-nan-for-all-missing-data>] If one DS is missing, either because the RRD is not available or because it does not contain the requested DS name, just assume that we diff --git a/src/rrd_graph.c b/src/rrd_graph.c index dbcafade..aee5ed4e 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -4398,7 +4398,7 @@ void rrd_graph_options( { "alt-y-grid", no_argument, 0, 'Y'}, { "y-grid", required_argument, 0, 'y'}, { "lazy", no_argument, 0, 'z'}, - { "missing-ds", no_argument, 0, 'Z'}, + { "use-nan-for-all-missing-data", no_argument, 0, 'Z'}, { "units", required_argument, 0, LONGOPT_UNITS_SI}, { "alt-y-mrtg", no_argument, 0, 1000}, /* this has no effect it is just here to save old apps from crashing when they use it */ { "disable-rrdtool-tag",no_argument, 0, 1001}, diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 4b46fadf..d7ff151f 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -166,7 +166,7 @@ void PrintUsage( "\t\t[--border width\n" "\t\t[-t|--title string]\n" "\t\t[-W|--watermark string]\n" - "\t\t[-Z|--missing-ds]\n" + "\t\t[-Z|--use-nan-for-all-missing-data]\n" "\t\t[DEF:vname=rrd:ds-name:CF]\n"); const char *help_graph3 = N_("\t\t[CDEF:vname=rpn-expression]\n" -- 2.47.2