From 1580628a8ea67e84d02f70fbd5b85b63578f6e85 Mon Sep 17 00:00:00 2001 From: Peter Stamfest Date: Tue, 2 Sep 2014 23:14:49 +0200 Subject: [PATCH] add --template documentation --- doc/rrdcreate.pod | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/rrdcreate.pod b/doc/rrdcreate.pod index 9ad2de37..eaf6653a 100644 --- a/doc/rrdcreate.pod +++ b/doc/rrdcreate.pod @@ -7,6 +7,7 @@ rrdcreate - Set up a new Round Robin Database B B I S<[B<--start>|B<-b> I]> S<[B<--step>|B<-s> I]> +S<[B<--template>|B<-t> I]> S<[B<--source>|B<-r> I]> S<[B<--no-overwrite>]> S<[B<--daemon> I
]> @@ -59,6 +60,16 @@ the B<-l> option in the L manual. rrdtool create --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd I +=head2 S<[B<--template>|B<-t> I]> + +Specifies a template B file to take step, DS and RRA definitions from. This allows to +base the structure of a new file on some existing file. The data of the template +file is NOT used for pre-filling, but it is possible to specify the same file as a +source file (see below). + +Additional DS and RRA definitions are permitted, and will be added to those taken +from the template. + =head2 B<--source>|B<-r> I One or more source B files may be named on the command line. Data from these -- 2.47.2