Mercurial > babel > old > babel-test
changeset 77:5c819411e4af
Updated frontend screens for added sorting features.
author | cmlenz |
---|---|
date | Fri, 08 Jun 2007 23:27:35 +0000 |
parents | 3ed77bf655d1 |
children | ee043bb666f0 |
files | doc/cmdline.txt doc/setup.txt |
diffstat | 2 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/cmdline.txt +++ b/doc/cmdline.txt @@ -39,7 +39,9 @@ $ babel extract --help usage: babel extract [options] dir1 <dir2> ... - + + 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
--- 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::