mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-11 13:10:32 +00:00
mhdr.1: update wording
This commit is contained in:
parent
9513ec97fd
commit
386a85c53c
36
man/mhdr.1
36
man/mhdr.1
@ -3,10 +3,10 @@
|
|||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm mhdr
|
.Nm mhdr
|
||||||
.Nd show mail headers
|
.Nd print message headers
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl h Ar header Op Fl p Ar parameter
|
.Op Fl h Ar hdrs Op Fl p Ar parameter
|
||||||
.Op Fl d
|
.Op Fl d
|
||||||
.Op Fl H
|
.Op Fl H
|
||||||
.Op Fl M
|
.Op Fl M
|
||||||
@ -14,11 +14,13 @@
|
|||||||
.Op Ar msgs\ ...
|
.Op Ar msgs\ ...
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
prints the mail headers of the specified
|
prints the headers of the specified
|
||||||
.Ar msgs .
|
.Ar msgs .
|
||||||
|
.Po
|
||||||
See
|
See
|
||||||
.Xr mmsg 7
|
.Xr mmsg 7
|
||||||
for the message argument syntax.
|
for the message argument syntax.
|
||||||
|
.Pc
|
||||||
.Pp
|
.Pp
|
||||||
If no
|
If no
|
||||||
.Ar msgs
|
.Ar msgs
|
||||||
@ -26,25 +28,37 @@ are specified,
|
|||||||
.Nm
|
.Nm
|
||||||
will default to the current message.
|
will default to the current message.
|
||||||
.Pp
|
.Pp
|
||||||
|
If no
|
||||||
|
.Ar hdrs
|
||||||
|
are specified,
|
||||||
|
.Nm
|
||||||
|
will print all headers.
|
||||||
|
.Pp
|
||||||
The options are as follows:
|
The options are as follows:
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl h Ar header
|
.It Fl h Ar hdrs
|
||||||
Only print the values of the headers in the colon-separated list
|
Only print the values of headers in the colon-separated list
|
||||||
.Ar header .
|
.Ar hdrs .
|
||||||
.It Fl p Ar parameter
|
.It Fl p Ar parameter
|
||||||
Extract a particular RFC 2045
|
Extract a particular RFC 2045
|
||||||
.Ar parameter
|
.Ar parameter
|
||||||
from the specified headers.
|
from the specified
|
||||||
|
.Ar hdrs .
|
||||||
.It Fl d
|
.It Fl d
|
||||||
Decode the headers according to RFC 2047.
|
Decode the
|
||||||
|
.Ar hdrs
|
||||||
|
according to RFC 2047.
|
||||||
.It Fl H
|
.It Fl H
|
||||||
Prefix output lines with the filename of the message,
|
Prefix output lines with the filename of the message,
|
||||||
followed by a tab.
|
followed by a tab.
|
||||||
.It Fl M
|
.It Fl M
|
||||||
Search for all occurrences of the headers
|
Search for all occurrences of the
|
||||||
(default: only the first).
|
.Ar hdrs
|
||||||
|
.Pq default: only the first .
|
||||||
.It Fl A
|
.It Fl A
|
||||||
Scan for RFC 5322 addresses in the headers and print them, one per line.
|
Scan for RFC 5322 addresses in the
|
||||||
|
.Ar hdrs
|
||||||
|
and print them, one per line.
|
||||||
.It Fl D
|
.It Fl D
|
||||||
Assume header contains RFC 5322 date and print as Unix timestamp.
|
Assume header contains RFC 5322 date and print as Unix timestamp.
|
||||||
.El
|
.El
|
||||||
|
Loading…
Reference in New Issue
Block a user