Command Line Options

Doctran can be supplied with the command-line options shown below.


These options force Doctran to display various information meant to be helpful to the user.

Option nameDescription
--helpDisplays usage information.
--licenseRun Doctran with this options to enter a license key and view license information.
--pluginsThis option forces Doctran to check the plugins path for any plugins present and write their names and version. Doctran will exit immediately after plugins have been checked.
--time-runSpecifies that an XML file should be generated containing timing information of the run.
--verbose VALUE Sets how much information should written to the screen. VALUE can be the following:
  • 1 - No output apart from fatal errors.
  • 2 - (Default) Basic information output. Statement of the current operation, warning messages and fatal errors are written to the screen.
  • 3 - Detailed information output. Everything from 2 with a lot of information on what is processing.


These options allow the user to affect the input and output.

Option nameDescription
--output, -o DIRDIR is the output directory for the documentation. (Default: Docs).
--overwriteIf this option is specified, then the auxiliary files (css, scripts, etc.) and html files in the output directory will be overwritten. If not, then just the html files will be overwritten, which is the default behaviour.
--no-outputInstructs the program not to generate any documentation. If `--save-xmls` appears, XML data will still be saved. (Default: false).
--save-xmlsSpecify the intermediary XML documents will be saved int he output directory. By default these documents are not saved.


These options allow the user to specify information relating to their project.

Option nameDescription
--project-info FILE,FILE is the name and/or path of the project's information file.