Describe ZIP_TRUNCATE. --HG-- branch : HEAD
diff --git a/man/zip_open.man b/man/zip_open.man index 8e523e2..08f9bc4 100644 --- a/man/zip_open.man +++ b/man/zip_open.man
@@ -53,15 +53,19 @@ the following values, or 0 for none of them. .RS .TP 15 +\fBZIP_CHECKCONS\fR +Perform additional stricter consistency checks on the archive, and +error if they fail. +.TP 15 \fBZIP_CREATE\fR Create the archive if it does not exist. .TP 15 \fBZIP_EXCL\fR Error if archive already exists. .TP 15 -\fBZIP_CHECKCONS\fR -Perform additional stricter consistency checks on the archive, and -error if they fail. +\fBZIP_TRUNCATE\fR +If archive exists, ignore its current contents. +In other words, handle it the same way as an empty archive. .RE .PP If an error occurs and
diff --git a/man/zip_open.mdoc b/man/zip_open.mdoc index e80d61a..0602499 100644 --- a/man/zip_open.mdoc +++ b/man/zip_open.mdoc
@@ -53,13 +53,16 @@ .Em or Ns No 'ing the following values, or 0 for none of them. .Bl -tag -offset indent -width ZIP_CHECKCONS +.It Dv ZIP_CHECKCONS +Perform additional stricter consistency checks on the archive, and +error if they fail. .It Dv ZIP_CREATE Create the archive if it does not exist. .It Dv ZIP_EXCL Error if archive already exists. -.It Dv ZIP_CHECKCONS -Perform additional stricter consistency checks on the archive, and -error if they fail. +.It Dv ZIP_TRUNCATE +If archive exists, ignore its current contents. +In other words, handle it the same way as an empty archive. .El .Pp If an error occurs and