Fix incomplete copy-pasted man page; xref zip_name_locate. --HG-- branch : HEAD
diff --git a/man/zip_get_name.man b/man/zip_get_name.man index 36cdd67..26e649a 100644 --- a/man/zip_get_name.man +++ b/man/zip_get_name.man
@@ -2,7 +2,7 @@ .\" from NiH: zip_get_name.mdoc,v 1.2 2003/10/03 23:34:23 wiz Exp .\" $NiH: zip_get_name.mdoc,v 1.2 2003/10/03 23:34:23 wiz Exp $ .\" -.\" zip_name_locate.mdoc \-- get index of file by name +.\" zip_get_name.mdoc \-- get name of file by index .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner .\" .\" This file is part of libzip, a library to manipulate ZIP archives. @@ -33,9 +33,9 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.TH ZIP_NAME_LOCATE 3 "October 3, 2003" NiH +.TH ZIP_GET_NAME 3 "October 3, 2003" NiH .SH "NAME" -zip_name_locate \- get index of file by name +zip_get_name \- get name of file by index .SH "LIBRARY" libzip (-lzip) .SH "SYNOPSIS" @@ -68,4 +68,5 @@ \fBindex\fR is not a valid file index in \fBarchive.\fR -.\".SH "SEE ALSO" +.SH "SEE ALSO" +zip_name_locate(3)
diff --git a/man/zip_get_name.mdoc b/man/zip_get_name.mdoc index ce726c3..a03c77f 100644 --- a/man/zip_get_name.mdoc +++ b/man/zip_get_name.mdoc
@@ -1,6 +1,6 @@ -.\" $NiH: zip_get_name.mdoc,v 1.1 2003/10/03 23:26:01 dillo Exp $ +.\" $NiH: zip_get_name.mdoc,v 1.2 2003/10/03 23:34:23 wiz Exp $ .\" -.\" zip_name_locate.mdoc -- get index of file by name +.\" zip_get_name.mdoc -- get name of file by index .\" Copyright (C) 2003 Dieter Baron and Thomas Klausner .\" .\" This file is part of libzip, a library to manipulate ZIP archives. @@ -32,11 +32,11 @@ .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .Dd October 3, 2003 -.Dt ZIP_NAME_LOCATE 3 +.Dt ZIP_GET_NAME 3 .Os .Sh NAME -.Nm zip_name_locate -.Nd get index of file by name +.Nm zip_get_name +.Nd get name of file by index .Sh LIBRARY libzip (-lzip) .Sh SYNOPSIS @@ -68,4 +68,5 @@ .Ar index is not a valid file index in .Ar archive . -.\" .Sh SEE ALSO +.Sh SEE ALSO +.Xr zip_name_locate 3