Mercurial > babel > old > mirror
diff babel/messages/tests/frontend.py @ 187:d3bde66ac8a9
Add a command-line option that prints out all available locales. Closes #24.
author | cmlenz |
---|---|
date | Thu, 28 Jun 2007 16:34:40 +0000 |
parents | e927dffc9ab4 |
children | 541b6d630575 |
line wrap: on
line diff
--- a/babel/messages/tests/frontend.py +++ b/babel/messages/tests/frontend.py @@ -462,14 +462,15 @@ usage: babel command [options] [args] options: - --version show program's version number and exit - -h, --help show this help message and exit + --version show program's version number and exit + -h, --help show this help message and exit + --list-locales print all known locales and exit commands: - compile compile message catalogs to mo files - extract extract messages from source files and generate a pot file - init create new message catalogs from a pot file - update update existing message catalogs from a pot file + compile compile message catalogs to mo files + extract extract messages from source files and generate a pot file + init create new message catalogs from a pot file + update update existing message catalogs from a pot file """, sys.stdout.getvalue().lower()) def test_extract_with_default_mapping(self):