summaryrefslogtreecommitdiff
path: root/bin/wikitrans
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wikitrans')
-rwxr-xr-xbin/wikitrans2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/wikitrans b/bin/wikitrans
index 09ba0b3..01c3f9c 100755
--- a/bin/wikitrans
+++ b/bin/wikitrans
@@ -102,13 +102,13 @@ def getwiki(url, options):
102 options.itype = 'wiktionary' 102 options.itype = 'wiktionary'
103 103
104 options.kwdict['text'] = text.text.encode() 104 options.kwdict['text'] = text.text.encode()
105 105
106def main(): 106def main():
107 usage = '%prog [OPTIONS] ARG' 107 usage = '%prog [OPTIONS] ARG'
108 version = '%prog 1.2' 108 version = '%prog 1.3'
109 description = """Translates MediaWiki documents markup to various other formats. 109 description = """Translates MediaWiki documents markup to various other formats.
110If ARG looks like a URL, the wiki text to be converted will be downloaded 110If ARG looks like a URL, the wiki text to be converted will be downloaded
111from that URL. 111from that URL.
112Otherwise, if --base-url is given, ARG is treated as the name of the page to 112Otherwise, if --base-url is given, ARG is treated as the name of the page to
113get from the WikiMedia istallation at that URL. 113get from the WikiMedia istallation at that URL.
114Otherwise, ARG is name of the file to read wiki material from. 114Otherwise, ARG is name of the file to read wiki material from.

Return to:

Send suggestions and report system problems to the System administrator.