Add CAVEATS section that mentions that this function does not look in the file system.
diff --git a/man/zip_dir_add.mdoc b/man/zip_dir_add.mdoc index c583300..657dcd5 100644 --- a/man/zip_dir_add.mdoc +++ b/man/zip_dir_add.mdoc
@@ -1,5 +1,5 @@ .\" zip_dir_add.mdoc -- add directory to zip archive -.\" Copyright (C) 2006-2012 Dieter Baron and Thomas Klausner +.\" Copyright (C) 2006-2014 Dieter Baron and Thomas Klausner .\" .\" This file is part of libzip, a library to manipulate ZIP archives. .\" The authors can be contacted at <libzip@nih.at> @@ -29,7 +29,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd June 23, 2012 +.Dd December 4, 2014 .Dt ZIP_DIR_ADD 3 .Os .Sh NAME @@ -100,3 +100,7 @@ .An Dieter Baron Aq Mt dillo@nih.at and .An Thomas Klausner Aq Mt tk@giga.or.at +.Sh CAVEATS +.Fn zip_dir_add +does not look in the file system, it just creates one entry in the +archive for the provided name.