diff options
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -121,13 +121,13 @@ supposed to provide a wiktionary-specific form of ``HtmlWikiMarkup``. Currently both classes are equivalent, except that the default value for ``html_base`` in ``HtmlWiktionaryMarkup`` is ``http://%(lang)s.wikipedia.org/wiki/``. The ``wikitrans`` utility ========================= -This command line utility converts the supplied text to a selected +This command line utility converts the supplied text to selected output format. The usage syntax is:: wikitrans [OPTIONS] ARG If ARG looks like a URL, the wiki text to be converted will be downloaded from that URL. @@ -157,17 +157,17 @@ Options are: ``-I ITYPE``, ``--input-type=ITYPE`` Set input document type. *ITYPE* is one of: ``default`` or ``wiktionary``. ``-t OTYPE``, ``--to=OTYPE``, ``--type=OTYPE`` Set output document type (``html`` (the default), ``texi``, ``text``, or ``dump``). ``-l LANG``, ``--lang=LANG`` - Set input document language + Set input document language. ``-o KW=VAL``, ``--option=KW=VAL`` Pass the keyword argument ``KW=VAL`` to the parser class construct. ``-d DEBUG``, ``--debug=DEBUG`` - Set debug level (0..100) + Set debug level (0..100). ``-D``, ``--dump`` Dump parse tree and exit; same as ``--type=dump``. ``-b URL``, ``--base-url=URL`` Set base url. Note: when using ``--base-url`` or passing URL as an argument (2nd and 3rd |