X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdcgi.pod;h=cfa79a511b092015d9ebdf672ea3f476844017aa;hb=e6271afb13033053281a06abda00e06bd007fba6;hp=d55095c3940c0bd562f118039b2b85bacc0a2e02;hpb=35e66dd1f1a4c2d6934e74a137f047bc0c6a9c38;p=rrdtool.git diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod index d55095c..cfa79a5 100644 --- a/doc/rrdcgi.pod +++ b/doc/rrdcgi.pod @@ -7,9 +7,7 @@ rrdcgi - create web pages containing RRD graphs based on templates =head1 SYNOPSIS #!/path/to/B -S<[B<--goodfor>|B<-g> I]> S<[B<--filter>]> -S<[B<--refresh>|B<-r>]> =head1 DESCRIPTION @@ -18,7 +16,7 @@ is to run as a cgi-program and parse a web page template containing special ERRD:: tags. B will interpret and act according to these tags. In the end it will printout a web page including the necessary CGI headers. -B parses the contents of the template in 2 steps. In each step it looks +B parses the contents of the template in 3 steps. In each step it looks only for a subset of tags. This allows to nest tags. The argument parser uses the same semantics as you are used from your c shell. @@ -30,11 +28,6 @@ The argument parser uses the same semantics as you are used from your c shell. Assume that rrdcgi is being run as a filter and not as a cgi. -=item B<--refresh>|B<-r> - -If the B<--goodfor> flag is specified, then B<--refresh> will cause rrdcgi -to output a Refresh header with the value of the B<--goodfor> value. - =back =head2 Pass 1 @@ -103,6 +96,15 @@ time is I-formated with the string specified in the second argument. This gets replaced by the current time of day. The time is I-formated with the string specified in the argument. +=item RRD::TIME::STRFTIME I I I I + +This gets replaced by a strftime-formatted time using the format +I on either I or I depending on +whether I or I is specified. Both I and I +must be supplied as either could be relative to the other. This is intended +to allow pretty titles on graphs with times that are easier for non rrdtool +folks to figure out than "-2weeks". + =back =head2 Pass 3