diff doc/setup.txt @ 64:7eb6fea17864

The order of extraction methods is now preserved (see #10).
author cmlenz
date Fri, 08 Jun 2007 12:41:00 +0000
parents 27d55a07c897
children 7cf16a49e8b2
line wrap: on
line diff
--- a/doc/setup.txt
+++ b/doc/setup.txt
@@ -58,6 +58,7 @@
       --width (-w)           set output line width (default 76)
       --no-wrap              do not break long message lines, longer than the
                              output line width, into several lines
+      --input-dirs           directories that should be scanned for messages
 
 Running the command will produce a PO template file::
 
@@ -83,11 +84,13 @@
     setup(...
         
         message_extractors = {
-            'foobar/**.py':                 ('python', None),
-            'foobar/**/templates/**.html':  ('genshi', None),
-            'foobar/**/templates/**.txt':   ('genshi', {
-                'template_class': 'genshi.template.text.TextTemplate'
-            })
+            'foobar': [
+                ('**.py',                ('python', None),
+                ('**/templates/**.html', ('genshi', None),
+                ('**/templates/**.txt',  ('genshi', {
+                    'template_class': 'genshi.template.text.TextTemplate'
+                })
+            ],
         },
         
         ...
@@ -124,3 +127,6 @@
   | ``--no-wrap``               | do not break long message lines, longer than |
   |                             | the output line width, into several lines    |
   +-----------------------------+----------------------------------------------+
+  | ``--input-dirs``            | directories that should be scanned for       |
+  |                             | messages                                     |
+  +-----------------------------+----------------------------------------------+
Copyright (C) 2012-2017 Edgewall Software