1unitdiff(1)               FPC unit difference viewer               unitdiff(1)
2
3
4

NAME

6       unitdiff - Describe differences in the interface of a FPC unit.
7
8

SYNOPSIS

10       unitdiff  [  --disable-arguments] [ --disable-private] [ --disable-pro‐
11       tected] [ --help] [ --lang=language] [ --list] [  --output=filename]  [
12       --sparse] file1 file2
13
14

Description

16       unitdiff  scans  one  or  two  Free Pascal unit source files and either
17       lists all available identifiers, or describes the differences in  iden‐
18       tifiers between the two units.
19
20

Usage

22       You  can  invoke  unitdiff  with  as the only required argument a input
23       filename. It will then simply list all available identifiers.
24
25       The regular use is to invoke unitdiff with input1 input2 arguments.  It
26       will  then  show  the difference in interface between the two units, or
27       list the available identifiers in both units. The  output  of  unitdiff
28       will go to standard output by default.
29
30

Options

32       unitdiff has some options, most of them optional, defaults will be used
33       in most cases.
34
35
36       --disable-arguments
37              If this option is specified, unitdiff will not check  the  argu‐
38              ments of functions and procedures. By default, these are checked
39              as well.
40
41       --disable-private
42              By default, private methods of  classes  are  checked.  if  this
43              option is specified, private fields or methods are not checked.
44
45       --disable-protected
46              By  default,  protected  methods of classes are checked. if this
47              option is specified, protected and private fields or methods are
48              not checked.
49
50       --help Emit a short help text and exit.
51
52       --lang=language
53              Sets  the language for the output file. This will mainly set the
54              strings used for the headers in various parts of the  documenta‐
55              tion  files  (by  default  they're in english). Currently, valid
56              options are
57
58              de     German.
59
60              fr     French.
61
62              nl     Dutch.
63
64       --list If this option is specified, only the list of available  identi‐
65              fiers will be specified for the unit or units. If only 1 unit is
66              specified, this option is automatically assumed.
67
68       --output=filename
69              This option tells unitdiff where the output should go.  If  this
70              option  is  not specified, the output is sent to standard output
71              (the screen).
72
73       --sparse
74              Turns on sparse mode. In this mode, the output will not  contain
75              the  types of the identifiers. Only the names of the identifiers
76              are written to the output. By default,  also  type  descriptions
77              are written.
78
79

SEE ALSO

81              ppc386(1) fpdoc(1)
82
83
84
85Free Pascal                    14 November 2004                    unitdiff(1)
Impressum