.Nm zic
.Nd timezone compiler
.Sh SYNOPSIS
-.Nm
+.Nm zic
.Op Fl -version
.Op Fl Dsv
.Op Fl d Ar directory
.Op Ar filename ...
.Sh DESCRIPTION
The
-.Nm
+.Nm zic
utility reads text from the file(s) named on the command line
and creates the time conversion information files specified in this input.
If a
.Pp
The following options are available:
.Bl -tag -width indent
-.It Fl -version
-Output version information and exit.
+.\" ==========
.It Fl D
Do not automatically create directories.
If the input file(s) specify
If
.Fl D
is specified,
-.Nm
+.Nm zic
will instead error out immediately.
+.\" ==========
.It Fl d Ar directory
Create time conversion information files in the named directory rather than
in the standard directory named below.
+.\" ==========
.It Fl g Ar group
After creating each output file, change its group ownership to the
specified
.Ar group
(which can be either a name or a numeric group ID).
+.\" ==========
.It Fl L Ar leapsecondfilename
Read leap second information from the file with the given name.
If this option is not used,
no leap second information appears in output files.
+.\" ==========
.It Fl l Ar timezone
Use the given
.Ar time zone
as local time.
The
-.Nm
+.Nm zic
utility will act as if the input contained a link line of the form
.Bd -literal -offset indent
.No "Link timezone localtime
.Pa /etc/localtime
and not
.Pa /usr/share/zoneinfo/localtime . )
+.\" ==========
.It Fl m Ar mode
After creating each output file, change its access mode to
.Ar mode .
Both numeric and alphabetic modes are accepted
(see
.Xr chmod 1 ) .
+.\" ==========
.It Fl p Ar timezone
Use the given
.Ar "time zone" Ns 's
rules when handling POSIX-format
time zone environment variables.
The
-.Nm
+.Nm zic
utility will act as if the input contained a link line of the form
.Bd -literal -offset indent
.No "Link timezone posixrules
.Ed
+.\" ==========
+.It Fl s
+Limit time values stored in output files to values that are the same
+whether they're taken to be signed or unsigned.
+You can use this option to generate SVVS-compatible files.
+.\" ==========
.It Fl u Ar user
After creating each output file, change its owner to
.Ar user
of years representable by
.Xr time 3
values.
-.It Fl s
-Limit time values stored in output files to values that are the same
-whether they're taken to be signed or unsigned.
-You can use this option to generate SVVS-compatible files.
+.\" ==========
+.It Fl -version
+Output version information and exit.
+.\" ==========
.It Fl y Ar command
Use the given
.Ar command
If
.Em TYPE
is something else, then
-.Nm
+.Nm zic
executes the command
.Li yearistype Ar year Ar type
to check the type of a year: