### 7.13 Command-Line Referece ¶

The syntax of the command-line version is the same on all platforms28.

Note that the command line syntax below is a superset of the command-line options of the mscgen tool. This means that by renaming `msc-gen` to `mscgen` you can use Msc-generator’s extra features and rich language in every tool that is integrated with mscgen. These tools include Doxygen, Sphinx and Msctexen29. For more on the compatibility of the languages see Mscgen Backwards Compatibility.

    Usage: msc-gen [OPTIONS] infile
           msc-gen --gui [OPTIONS] [infile]
           msc-gen --tei-mode -S <lang> [OPTIONS]
           msc-gen -l
           msc-gen --help
           msc-gen --version

Use `msc-gen --help` for detailed command-line summary.

#### Footnotes

##### (28)

The only two exceptions are in how pathnames are written on Windows and Linux/Mac and where the design libraries (e.g., `designlib.signalling`) will be searched.

##### (29)

This is thanks to the original mscgen author Michael McTernan and many others