Various minor fixes.
diff --git a/man/zip_errors.mdoc b/man/zip_errors.mdoc
index 499e201..a696b7f 100644
--- a/man/zip_errors.mdoc
+++ b/man/zip_errors.mdoc
@@ -96,7 +96,7 @@
.It Bq Er ZIP_ER_ENCRNOTSUPP
Encryption method not supported.
.It Bq Er ZIP_ER_RDONLY
-Read-only archive.
+Read-only archive.
.It Bq Er ZIP_ER_NOPASSWD
No password provided.
.It Bq Er ZIP_ER_WRONGPASSWD
diff --git a/man/zip_file_get_comment.mdoc b/man/zip_file_get_comment.mdoc
index ed9b8c2..6be5ffc 100644
--- a/man/zip_file_get_comment.mdoc
+++ b/man/zip_file_get_comment.mdoc
@@ -84,7 +84,7 @@
(except if it is a UTF-8 comment from the special extra field).
Convert it to UTF-8.
.El
-.Em Note:
+.Em Note :
ASCII is a subset of both CP-437 and UTF-8.
.Sh RETURN VALUES
Upon successful completion, a pointer to the comment is returned,
diff --git a/man/zip_file_get_external_attributes.mdoc b/man/zip_file_get_external_attributes.mdoc
index 1f43613..62f1ea0 100644
--- a/man/zip_file_get_external_attributes.mdoc
+++ b/man/zip_file_get_external_attributes.mdoc
@@ -120,18 +120,6 @@
is returned and the error code in
.Ar archive
is set to indicate the error.
-.Sh ERRORS
-.Fn zip_file_get_external_attributes
-fails if:
-.Bl -tag -width Er
-.It Bq Er ZIP_ER_INVAL
-.Ar index
-is not a valid file index in
-.Ar archive .
-.El
-.Sh SEE ALSO
-.Xr libzip 3 ,
-.Xr zip_file_set_external_attributes 3
.Sh EXAMPLES
The following code can be used to expand
.Ar attributes
@@ -156,6 +144,18 @@
return m;
}
.Ed
+.Sh ERRORS
+.Fn zip_file_get_external_attributes
+fails if:
+.Bl -tag -width Er
+.It Bq Er ZIP_ER_INVAL
+.Ar index
+is not a valid file index in
+.Ar archive .
+.El
+.Sh SEE ALSO
+.Xr libzip 3 ,
+.Xr zip_file_set_external_attributes 3
.Sh AUTHORS
.An -nosplit
.An Dieter Baron Aq Mt dillo@nih.at
diff --git a/man/zip_file_set_comment.mdoc b/man/zip_file_set_comment.mdoc
index ea61009..55e8ef9 100644
--- a/man/zip_file_set_comment.mdoc
+++ b/man/zip_file_set_comment.mdoc
@@ -103,8 +103,8 @@
.El
.Sh SEE ALSO
.Xr libzip 3 ,
-.Xr zip_get_archive_comment 3 ,
.Xr zip_file_get_comment 3 ,
+.Xr zip_get_archive_comment 3 ,
.Xr zip_set_archive_comment 3
.Sh AUTHORS
.An -nosplit
diff --git a/man/zip_get_archive_comment.mdoc b/man/zip_get_archive_comment.mdoc
index 1cbb23e..6d1b3ae 100644
--- a/man/zip_get_archive_comment.mdoc
+++ b/man/zip_get_archive_comment.mdoc
@@ -80,7 +80,7 @@
archive comment, thus also expecting it in CP-437 encoding.
Convert it to UTF-8.
.El
-.Em Note:
+.Em Note :
ASCII is a subset of both CP-437 and UTF-8.
.Sh RETURN VALUES
Upon successful completion, a pointer to the comment is returned,
diff --git a/man/zip_get_name.mdoc b/man/zip_get_name.mdoc
index 6184793..3af22f0 100644
--- a/man/zip_get_name.mdoc
+++ b/man/zip_get_name.mdoc
@@ -76,7 +76,7 @@
the ZIP archive (except if they are explicitly marked as UTF-8).
Convert it to UTF-8.
.El
-.Em Note:
+.Em Note :
ASCII is a subset of both CP-437 and UTF-8.
.Sh RETURN VALUES
Upon successful completion, a pointer to the name is returned.
diff --git a/man/zip_get_num_files.mdoc b/man/zip_get_num_files.mdoc
index 09b0c4e..1abe704 100644
--- a/man/zip_get_num_files.mdoc
+++ b/man/zip_get_num_files.mdoc
@@ -42,10 +42,10 @@
.Ft int
.Fn zip_get_num_files "zip_t *archive"
.Sh DESCRIPTION
-.Em This function is deprecated.
+.Em This function is deprecated .
.Em Use
.Xr zip_get_num_entries 3
-.Em instead.
+.Em instead .
.Pp
The
.Fn zip_get_num_files
diff --git a/man/zip_name_locate.mdoc b/man/zip_name_locate.mdoc
index 51e4432..813d48b 100644
--- a/man/zip_name_locate.mdoc
+++ b/man/zip_name_locate.mdoc
@@ -73,7 +73,7 @@
the ZIP archive (except if they are explicitly marked as UTF-8).
Convert it to UTF-8 before comparing.
.El
-.Em Note:
+.Em Note :
ASCII is a subset of both CP-437 and UTF-8.
.Sh RETURN VALUES
.Fn zip_name_locate
diff --git a/man/zip_source_function.mdoc b/man/zip_source_function.mdoc
index a8772c9..9578848 100644
--- a/man/zip_source_function.mdoc
+++ b/man/zip_source_function.mdoc
@@ -152,7 +152,7 @@
Specify position to read next byte from, like
.Xr fseek 3 .
Use
-.Xr ZIP_SOURCE_GET_ARGS
+.Xr ZIP_SOURCE_GET_ARGS 3
to decode the arguments into the following struct:
.Bd -literal
struct zip_source_args_seek {