txt2tags --version (return code: 0)
txt2tags version 2.6 <http://txt2tags.org>
txt2tags --help (return code: 0)
Usage: txt2tags [OPTIONS] [infile.t2t ...]
--targets print a list of all the available targets and exit
-t, --target=TYPE set target document type. currently supported:
adoc, art, creole, dbk, doku, gwiki, html, lout, man,
mgp, moin, pm6, pmw, sgml, tex, txt, wiki, xhtml
-i, --infile=FILE set FILE as the input file name ('-' for STDIN)
-o, --outfile=FILE set FILE as the output file name ('-' for STDOUT)
--encoding=ENC set target file encoding (utf-8, iso-8859-1, etc)
--toc add an automatic Table of Contents to the output
--toc-level=N set maximum TOC level (depth) to N
--toc-only print the Table of Contents and exit
-n, --enum-title enumerate all titles as 1, 1.1, 1.1.1, etc
--style=FILE use FILE as the document style (like HTML CSS)
--css-sugar insert CSS-friendly tags for HTML/XHTML
--css-inside insert CSS file contents inside HTML/XHTML headers
-H, --no-headers suppress header and footer from the output
--mask-email hide email from spam robots. x@y.z turns <x (a) y z>
--slides format output as presentation slides (used by -t art)
--width=N set the output's width to N columns (used by -t art)
--height=N set the output's height to N rows (used by -t art)
-C, --config-file=F read configuration from file F
--gui invoke Graphical Tk Interface
-q, --quiet quiet mode, suppress all output (except errors)
-v, --verbose print informative messages during conversion
-h, --help print this help information and exit
-V, --version print program version and exit
--dump-config print all the configuration found and exit
--dump-source print the document source, with includes expanded
Turn OFF options:
--no-css-inside, --no-css-sugar, --no-dump-config, --no-dump-source,
--no-encoding, --no-enum-title, --no-headers, --no-infile,
--no-mask-email, --no-outfile, --no-quiet, --no-rc, --no-slides,
--no-style, --no-targets, --no-toc, --no-toc-only
Example:
txt2tags -t html --toc file.t2t
By default, converted output is saved to 'infile.<target>'.
Use --outfile to force an output file name.
If input file is '-', reads from STDIN.
If output file is '-', dumps output to STDOUT.
http://txt2tags.org