Codebase list clitest / 9d19c04
Use -V not --help for the final test Aurelio Jargas 10 years ago
1 changed file(s) with 2 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
1919 $ ./txt2tags -V # test execution
2020 txt2tags version 2.6 <http://txt2tags.org>
2121 $ test -d ~/bin || mkdir ~/bin # create folder if needed
22 $ ~/bin/txt2tags --help | head # final test
23
24 Usage: txt2tags [OPTIONS] [infile.t2t ...]
25
26 --targets print a list of all the available targets and exit
27 -t, --target=TYPE set target document type. currently supported:
28 adoc, art, creole, dbk, doku, gwiki, html, lout, man,
29 mgp, moin, pm6, pmw, sgml, tex, txt, wiki, xhtml
30 -i, --infile=FILE set FILE as the input file name ('-' for STDIN)
31 -o, --outfile=FILE set FILE as the output file name ('-' for STDOUT)
32 --encoding=ENC set target file encoding (utf-8, iso-8859-1, etc)
3322 $ cp txt2tags ~/bin/ # install to user folder
23 $ ~/bin/txt2tags -V # final test
24 txt2tags version 2.6 <http://txt2tags.org>
3425 $