X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Frrdcgi.pod;h=e999fea0966071d0e3f04fb2129c22de9ba34ea2;hb=ca6179e6c82724063f16403815aba140604bd59f;hp=30c6692cf6c54becdfa47a46f036c02dcf626a4c;hpb=8ba25ed02f431d0ea29747eeabfaf3c032b3a18a;p=rrdtool.git
diff --git a/doc/rrdcgi.pod b/doc/rrdcgi.pod
index 30c6692..e999fea 100644
--- a/doc/rrdcgi.pod
+++ b/doc/rrdcgi.pod
@@ -1,13 +1,10 @@
=head1 NAME
-rrdcgi - create web pages containing RRD graphs based on templates
-
-=for html
+rrdcgi - Create web pages containing RRD graphs based on templates
=head1 SYNOPSIS
-#!/path/to/B
-S<[B<--filter>]>
+C<#!/path/to/>B S<[B<--filter>]>
=head1 DESCRIPTION
@@ -92,12 +89,15 @@ Analog to GETENV but for local variables
=item RRD::TIME::LAST I I
This gets replaced by the last modification time of the selected RRD. The
-time is I-formated with the string specified in the second argument.
+time is I-formatted with the string specified in the second argument.
=item RRD::TIME::NOW I
-This gets replaced by the current time of day. The
-time is I-formated with the string specified in the argument.
+This gets replaced by the current time of day. The time is
+I-formatted with the string specified in the argument.
+
+Note that if you return : from your strftime format you may have to escape
+them using \ if the time is to be used as an argument to a GRAPH command.
=item RRD::TIME::STRFTIME I I I I
@@ -105,9 +105,12 @@ 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
+to allow pretty titles on graphs with times that are easier for non RRDtool
folks to figure out than "-2weeks".
+Note that if you return : from your strftime format you may have to escape
+them using \ if the time is to be used as an argument to a GRAPH command.
+
=item RRD::GRAPH I
This tag creates the RRD graph defined in its argument and then gets