The railroad diagram application has several command line arguments. The following command line arguments can be specified, in the given order:
The path to the input file that should be processed by the generator. The file should contain a railroad diagram specification, like shown in Examples.
The path to the output image file.
The requested output format. Specify
imagesfor a normal rail diagram
dbg-imagescan be used to debug the diagram generator.
Optionally, the path to the configuration file to use, as explained in the Customizing output section. If provided, the configuration file is used for customizing diagram layout. If not provided, the default configuration is used.