Added exit status; updated copyright

This commit is contained in:
Gitea 2020-12-13 09:37:24 -06:00
parent ef74a0076f
commit c09423b0a6

18
cmp.1
View file

@ -23,10 +23,26 @@ Outputs the byte number and differing byte for each difference
Suppresses all output, even when the files differ. If the two files
are of differing lengths, it also suppresses that notice. A
difference in the two files is indicated through exit status only.
.SH EXIT STATUS
.TP
.BR 0
The files are identical.
.TP
.BR 1
The files are different or are of different lengths.
.TP
.BR 2
Tried to use stdin as both files.
.TP
.BR 3
Not enough file operands.
.TP
.BR 4
Could not open one or both files.
.SH AUTHOR
Written by Kat.
.SH COPYRIGHT
Copyright (C) 2019 Katlynn Richey
Copyright (C) 2020 The FENIX Project
.PP
This software is free software. Feel free to modify it and/or pass
it around.