]> diplodocus.org Git - nmh/blobdiff - man/mhical.man
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / man / mhical.man
index 0d6e2a3dda519bcd6bfcd77c7cf0a3f019f5135a..0aaf6b09b397daca740210f2be211747511df05f 100644 (file)
@@ -1,9 +1,9 @@
-.TH MHICAL %manext1% "January 4, 2015" "%nmhversion%"
-.\"
+.TH MHICAL %manext1% 2015-01-04 "%nmhversion%"
+.
 .\" %nmhwarning%
 .\" %nmhwarning%
-.\"
+.
 .SH NAME
 .SH NAME
-mhical \- manipulate iCalendar event requests in nmh messages
+mhical \- nmh's manipulator of iCalendar event requests
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
@@ -31,10 +31,9 @@ manipulates an iCalendar (.ics) event request, to display it, generate
 a reply to it, or cancel it.  iCalendar event requests and replies are
 defined by RFC 5545.
 .PP
 a reply to it, or cancel it.  iCalendar event requests and replies are
 defined by RFC 5545.
 .PP
-.SH DISPLAY
 The default operation is to display the iCalendar event request in a
 human-readable format.
 The default operation is to display the iCalendar event request in a
 human-readable format.
-.SS "Format Program Selection"
+.PP
 For the display operation, the
 .B \-format
 .I string
 For the display operation, the
 .B \-format
 .I string
@@ -68,14 +67,14 @@ The following format components are supported:
 .fc ^ ~
 .nf
 .ta \w'description 'u
 .fc ^ ~
 .nf
 .ta \w'description 'u
-.BR ^method~^
-.BR ^organizer~^
-.BR ^summary~^
-.BR ^description~^
-.BR ^location~^
-.BR ^dtstart~^
-.BR ^dtend~^
-.BR ^attendees~^
+.B ^method~^
+.B ^organizer~^
+.B ^summary~^
+.B ^description~^
+.B ^location~^
+.B ^dtstart~^
+.B ^dtend~^
+.B ^attendees~^
 .fi
 .RE
 .PP
 .fi
 .RE
 .PP
@@ -94,7 +93,7 @@ by the
 environment variable, if it is set, see tzset(3).  If not set, its
 behavior is implementation defined, but may use the user's local
 timezone.
 environment variable, if it is set, see tzset(3).  If not set, its
 behavior is implementation defined, but may use the user's local
 timezone.
-.SH REPLY
+.SS Reply
 The
 .B \-reply
 switch generates a reply from the event request.  The required
 The
 .B \-reply
 switch generates a reply from the event request.  The required
@@ -103,12 +102,12 @@ action parameter must be one of
 .IR "decline" ", or"
 .IR "tentative" .
 Delegation is not supported.
 .IR "decline" ", or"
 .IR "tentative" .
 Delegation is not supported.
-.SH CANCEL
+.SS Cancel
 The
 .B \-cancel
 switch generates an iCalendar event that can be used to cancel
 the event request.
 The
 .B \-cancel
 switch generates an iCalendar event that can be used to cancel
 the event request.
-.SH INPUT/OUTPUT
+.SS "Input/Output"
 By default,
 .B mhical
 reads from standard input and writes to standard output.  The
 By default,
 .B mhical
 reads from standard input and writes to standard output.  The
@@ -116,8 +115,7 @@ reads from standard input and writes to standard output.  The
 and
 .BR \-outfile ,
 respectively, switches can be used to override these defaults.
 and
 .BR \-outfile ,
 respectively, switches can be used to override these defaults.
-.PP
-.SH MISCELLANEOUS SWITCHES
+.SS "Miscellaneous Switches"
 The
 .B \-contenttype
 switch instructs
 The
 .B \-contenttype
 switch instructs
@@ -153,7 +151,6 @@ is checked.
 ^%nmhetcdir%/mhical.24hour~^The default display template
 ^%nmhetcdir%/mhical.12hour~^Display template that uses 12-hour clock
 .fi
 ^%nmhetcdir%/mhical.24hour~^The default display template
 ^%nmhetcdir%/mhical.12hour~^Display template that uses 12-hour clock
 .fi
-.fi
 .SH "SEE ALSO"
 .IR mhbuild (1),
 .IR mh\-format (5),
 .SH "SEE ALSO"
 .IR mhbuild (1),
 .IR mh\-format (5),