8.10.2 Description and usage

Unitdiff scans one or two Free Pascal unit source files and either lists all available identifiers, or describes the differences in identifiers between the two units.

You can invoke unitdiff with as the only required argument a input filename. It will then simply list all available identifiers.

The regular use is to invoke unitdiff with 2 arguments:

unitdiff input1 input2

It will then show the difference in interface between the two units, or list the available identifiers in both units. The output of unitdiff will go to standard output by default.