[Templates-cvs] cvs commit: Template2/docsrc/src/Tools ttree.tt2
cvs@template-toolkit.org
cvs@template-toolkit.org
Wed, 08 Oct 2003 13:36:34 +0100
cvs 03/10/08 12:36:34
Modified: docsrc/src/Tools ttree.tt2
Log:
* documented suffix option
Revision Changes Path
1.2 +14 -0 Template2/docsrc/src/Tools/ttree.tt2
Index: ttree.tt2
===================================================================
RCS file: /template-toolkit/Template2/docsrc/src/Tools/ttree.tt2,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ttree.tt2 2001/03/29 22:10:51 1.1
+++ ttree.tt2 2003/10/08 12:36:33 1.2
@@ -59,6 +59,20 @@
all files will be accepted for processing if not already copied or
ignored.
+The B<suffix> option can be used to define which file extensions should
+be mapped to other file extensions. For example, if you want your source
+templates with a C<.tt2> suffix to be output as C<.html> files, then
+you would specify:
+
+ suffix tt2=html
+
+Or on the command line,
+
+ --suffix tt2=html
+
+You can provide any number of different suffix mappings by repeating
+this option.
+
Additional options may be used to set Template Toolkit parameters.
For example: