From: Vincent Bernat Date: Wed, 1 May 2013 14:44:20 +0000 (+0200) Subject: graph: rename --missing-ds to --use-nan-for-all-missing-data X-Git-Tag: v1.5.0-rc1~163^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F384%2Fhead;p=thirdparty%2Frrdtool-1.x.git graph: rename --missing-ds to --use-nan-for-all-missing-data --- 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"