From: Peter Stamfest Date: Tue, 2 Sep 2014 21:14:49 +0000 (+0200) Subject: add --template documentation X-Git-Tag: v1.5.0-rc1~42^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1580628a8ea67e84d02f70fbd5b85b63578f6e85;p=thirdparty%2Frrdtool-1.x.git add --template documentation --- 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