Document -1 as return value.
--HG--
branch : HEAD
diff --git a/man/zip_get_archive_flag.man b/man/zip_get_archive_flag.man
index 9fb25f9..e6522a5 100644
--- a/man/zip_get_archive_flag.man
+++ b/man/zip_get_archive_flag.man
@@ -66,7 +66,8 @@
\fBflag\fR
is set for
\fBarchive,\fR
-and 0 if not.
+0 if not,
+and \-1 if an error occurred.
.SH "SEE ALSO"
libzip(3),
zip_set_archive_flag(3)
diff --git a/man/zip_get_archive_flag.mdoc b/man/zip_get_archive_flag.mdoc
index 9dd708f..b949093 100644
--- a/man/zip_get_archive_flag.mdoc
+++ b/man/zip_get_archive_flag.mdoc
@@ -67,7 +67,8 @@
.Ar flag
is set for
.Ar archive ,
-and 0 if not.
+0 if not,
+and \-1 if an error occurred.
.Sh SEE ALSO
.Xr libzip 3 ,
.Xr zip_set_archive_flag 3
diff --git a/man/zip_set_archive_flag.man b/man/zip_set_archive_flag.man
index 8b5b1cc..f06f24a 100644
--- a/man/zip_set_archive_flag.man
+++ b/man/zip_set_archive_flag.man
@@ -61,8 +61,8 @@
comment can not be chosen.
.RE
.SH "RETURN VALUES"
-Upon successful completion 0 is returned.
-Currently, there are no error cases.
+Upon successful completion 0 is returned, and \-1 if an error
+occurred.
.SH "SEE ALSO"
libzip(3),
zip_get_archive_flag(3)
diff --git a/man/zip_set_archive_flag.mdoc b/man/zip_set_archive_flag.mdoc
index 92dc403..2662623 100644
--- a/man/zip_set_archive_flag.mdoc
+++ b/man/zip_set_archive_flag.mdoc
@@ -62,8 +62,8 @@
comment can not be chosen.
.El
.Sh RETURN VALUES
-Upon successful completion 0 is returned.
-Currently, there are no error cases.
+Upon successful completion 0 is returned, and \-1 if an error
+occurred.
.Sh SEE ALSO
.Xr libzip 3 ,
.Xr zip_get_archive_flag 3