Browse Source

Add draft man page

master
Damien Goutte-Gattat 11 years ago
parent
commit
128d48bcb6
  1. 2
      Makefile.am
  2. 3
      configure.ac
  3. 1
      man/Makefile.am
  4. 84
      man/fmail.1.in

2
Makefile.am

@ -1,4 +1,4 @@
SUBDIRS = lib src
SUBDIRS = lib src man
ACLOCAL_AMFLAGS = -I m4 --install

3
configure.ac

@ -31,7 +31,8 @@ AC_SEARCH_LIBS([magic_open], [magic], [],
[AC_MSG_ERROR([libmagic not found])])
dnl Output files
AC_CONFIG_FILES([Makefile lib/Makefile src/Makefile])
AC_CONFIG_FILES([Makefile lib/Makefile src/Makefile
man/Makefile man/fmail.1])
AC_OUTPUT
dnl Summary

1
man/Makefile.am

@ -0,0 +1 @@
man_MANS = fmail.1

84
man/fmail.1.in

@ -0,0 +1,84 @@
.TH FMAIL 22/05/2011 "fmail @PACKAGE_VERSION@"
.SH NAME
fmail \- mail formatter
.SH SYNOPSIS
.SY fmail
.RB [ \-h | --help ]
.RB [ \-v | --version ]
.RB [ \-a | --attach
.IR file ]
.RB [ \-s | --sign ]
.RB [ \-H | --header
.IR header ]
.RB [ \-F | --from
.IR sender ]
.RB [ \-T | --to
.IR recipient ]
.RB [ \-C | --cc
.IR recipient ]
.RB [ \-S | --subject
.IR subject ]
.YS
.SH DESCRIPTION
.PP
.B fmail
formats text read on standard input into a mail message
ready to be sent to a mail sending agent.
.SH OPTIONS
.TP
.BR -h ", " --help
Display the help message.
.TP
.BR -v ", " --version
Display the version message.
.TP
.BR -a ", " --attach " " \fIfile\fR
Attach the specified
.I file\fR.
.TP
.BR -s ", " --sign
Sign the message.
.TP
.BR -H ", " --header " " \fIheader\fR
Add an arbitrary header.
.TP
.BR -F ", " --from " " \fIsender\fR
Set the
.B From:
header.
.TP
.BR -T ", " --to " " \fIrecipient\fR
Add a
.B To:
header.
.TP
.BR -C ", " --cc " " \fIrecipient\fR
Add a
.B Cc:
header.
.TP
.BR -S ", " --subject " " \fIsubject\fR
Set the
.B Subject:
header.
.SH REPORTING BUGS
.PP
Report bugs to
.MT @PACKAGE_BUGREPORT@
Damien Goutte-Gattat
.ME .
.SH COPYRIGHT
.ad l
.PP
Copyright \(co 2011 Damien Goutte-Gattat
.PP
This program is released under the GNU General Public License.
See the COPYING file in the source distribution or
.UR http://www.gnu.org/licenses/gpl.html
.UE .
Loading…
Cancel
Save