Command-line help

In DITA OT 1.3, the command line help function has been enhanced to improve usability. You can display the version of the Toolkit and the usage of the command line by using the following commands:


java -jar lib/dost.jar -version

java -jar lib/dost.jar -h

You can display a brief description of the supported parameters in the command line window when you type a specific command. For example, if you type java -jar lib/dost.jar -h, you will get the following result:
D:\DITA-OT1.3_fullpackage_bin\DITA-OT1.3>java -jar lib/dost.jar -h

java -jar lib/dost.jar [mandatory parameters] [options]
Mandatory parameters:
  /i:{args.input}        specify the input file
  /transtype:{transtype} specify the transformation type
Options:
  -help, -h              print this message
  -version               print the version information and exit
  /basedir:{basedir}     specify the working directory
  /ditadir:{dita.dir}    specify the toolkit's home directory
  /outdir:{output.dir}   specify the output directory
  /tempdir:{dita.temp.dir} specify the temporary directory
  /logdir:{args.logdir}  specify the log directory
  /ditaext:{dita.extname} specify the dita file extension
  ...
Related concepts
OASIS DITA 1.1 support
Eclipse integration of DITA documentation plug-ins
Topicmerge improvements
Indexing improvements for localization
XML catalog improvements
Support for multiple file extensions in one DITA map
Ant refactoring