diff --git a/man/magrep.1 b/man/magrep.1 index d8ed4ff..b746326 100644 --- a/man/magrep.1 +++ b/man/magrep.1 @@ -102,8 +102,9 @@ Invert the match; print (or count) all files where does not match. .El .Sh EXIT STATUS +The .Nm -exits 0 on success, 1 if no match was found +utility exits 0 on success, 1 if no match was found and >1 if an error occurs. .Sh SEE ALSO .Xr grep 1 , diff --git a/man/mhdr.1 b/man/mhdr.1 index 2a475e6..f38123a 100644 --- a/man/mhdr.1 +++ b/man/mhdr.1 @@ -14,7 +14,7 @@ .Op Ar msgs\ ... .Sh DESCRIPTION .Nm -prints the mail headers of the given +prints the mail headers of the specified .Ar msgs . See .Xr mmsg 7 @@ -22,7 +22,7 @@ for the message argument syntax. .Pp If no .Ar msgs -are passed, +are specified, .Nm will default to the current message. .Pp @@ -40,7 +40,7 @@ by a tab. Search for all occurrences of the headers (default: only the first). .It Fl A -Scan for RFC 5322 addresses in the headers and print them line by line. +Scan for RFC 5322 addresses in the headers and print them, one per line. .It Fl D Assume header contains RFC 5322 date and print as Unix timestamp. .El @@ -48,7 +48,7 @@ Assume header contains RFC 5322 date and print as Unix timestamp. The .Nm utility exits 0 on success, -1 when no header was printed, +1 if no header was printed, and >1 if an error occurs. .Sh SEE ALSO .Xr mmsg 7