annotate doc/cmdline.txt @ 50:fa8a27b80eb4

Added round-half-even (banker's rounding) support. Moved a couple of unit-tests from docstrings to a separate file.
author jonas
date Thu, 07 Jun 2007 22:00:43 +0000
parents b2492365f186
children 1e724c305460
rev   line source
2
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
1 .. -*- mode: rst; encoding: utf-8 -*-
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
2
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
3 ======================
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
4 Command-Line Interface
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
5 ======================
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
6
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
7 Babel includes a command-line interface for working with message catalogs,
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
8 similar to the GNU ``xgettext`` program commonly available on Linux/Unix
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
9 systems.
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
10
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
11
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
12 .. contents:: Contents
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
13 :depth: 2
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
14 .. sectnum::
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
15
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
16
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
17 pygettext
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
18 =========
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
19
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
20 When properly installed, Babel provides a script called ``pygettext``, which can
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
21 be used to extract localized messages from a variety of files::
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
22
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
23 $ pygettext --help
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
24 usage: pygettext [options] dirname1 <dirname2> ...
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
25
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
26 options:
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
27 --version show program's version number and exit
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
28 -h, --help show this help message and exit
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
29 --charset=CHARSET charset to use in the output
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
30 -k KEYWORDS, --keyword=KEYWORDS
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
31 keywords to look for in addition to the defaults. You
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
32 can specify multiple -k flags on the command line.
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
33 --no-location do not include location comments with filename and
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
34 line number
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
35 --omit-header do not include msgid "" entry in header
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
36 -o OUTPUT, --output=OUTPUT
b2492365f186 Forgot to check in the doc directory.
cmlenz
parents:
diff changeset
37 path to the output POT file
Copyright (C) 2012-2017 Edgewall Software