projects
/
zzz-pokedex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cf773b3
)
Add usage text for --langs
encukou-translations
author
Petr Viktorin
<encukou@gmail.com>
Sun, 3 Apr 2011 17:59:09 +0000
(19:59 +0200)
committer
Petr Viktorin
<encukou@gmail.com>
Mon, 11 Apr 2011 14:07:39 +0000
(17:07 +0300)
pokedex/main.py
patch
|
blob
|
history
diff --git
a/pokedex/main.py
b/pokedex/main.py
index
5ad63c0
..
fe45577
100644
(file)
--- a/
pokedex/main.py
+++ b/
pokedex/main.py
@@
-301,6
+301,15
@@
Load options:
-D|--drop-tables Drop all tables before loading data.
-S|--safe Disable engine-specific optimizations.
-r|--recursive Load (and drop) all dependent tables.
-D|--drop-tables Drop all tables before loading data.
-S|--safe Disable engine-specific optimizations.
-r|--recursive Load (and drop) all dependent tables.
+ -l|--langs Load translations for the given languages.
+ By default, all available translations are loaded.
+ Separate multiple languages by a comma (-l en,de,fr)
+
+Dump options:
+ -l|--langs Dump unofficial texts for given languages.
+ By default, English (en) is dumped.
+ Separate multiple languages by a comma (-l en,de,fr)
+ Use 'none' to not dump any unofficial texts.
Additionally, load and dump accept a list of table names (possibly with
wildcards) and/or csv fileames as an argument list.
Additionally, load and dump accept a list of table names (possibly with
wildcards) and/or csv fileames as an argument list.