Add a section documenting the return values from diff.
PR: docs/59991 Submitted by: keramida,Erik Greenwald <erik@smluc.org> MFC After: 1 week
This commit is contained in:
@@ -474,6 +474,11 @@ match any pattern contained in
|
||||
.TP
|
||||
.B \-y
|
||||
Use the side by side output format.
|
||||
.SH RETURN VALUE
|
||||
.I diff
|
||||
returns 0 if the files are identical or 1 if the files differ.
|
||||
If one or both of the files cannot be opened,
|
||||
then the return value is set to 2.
|
||||
.SH ENVIRONMENT
|
||||
The environment variable
|
||||
.B DIFF_OPTIONS
|
||||
|
||||
Reference in New Issue
Block a user