# HG changeset patch # User cmlenz # Date 1181345255 0 # Node ID 5c819411e4af45c7f5a2057e7adc0cc0349e0254 # Parent 3ed77bf655d1ce2f91dfaffc6ecf4b84c7711e3c Updated frontend screens for added sorting features. diff --git a/doc/cmdline.txt b/doc/cmdline.txt --- a/doc/cmdline.txt +++ b/doc/cmdline.txt @@ -39,7 +39,9 @@ $ babel extract --help usage: babel extract [options] dir1 ... - + + extract messages from source files and generate a POT file + options: -h, --help show this help message and exit --charset=CHARSET charset to use in the output @@ -59,6 +61,8 @@ set output line width (default 76) --no-wrap do not break long message lines, longer than the output line width, into several lines + --sort-output generate sorted output (default False) + --sort-by-file sort output by file location (default False) init diff --git a/doc/setup.txt b/doc/setup.txt --- a/doc/setup.txt +++ b/doc/setup.txt @@ -44,7 +44,7 @@ --quiet (-q) run quietly (turns verbosity off) --dry-run (-n) don't actually do anything --help (-h) show detailed help message - + Options for 'extract_messages' command: --charset charset to use in the output file --keywords (-k) space-separated list of keywords to look for in @@ -58,7 +58,14 @@ --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 + --sort-output generate sorted output (default False) + --sort-by-file sort output by file location (default False) --input-dirs directories that should be scanned for messages + + usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] + or: setup.py --help [cmd1 cmd2 ...] + or: setup.py --help-commands + or: setup.py cmd --help Running the command will produce a PO template file::