From 37d8524e7e5237d3d67b2db4692b00b0eb95077b Mon Sep 17 00:00:00 2001 From: TsT Date: Thu, 14 Dec 2017 21:12:18 +0100 Subject: lfs.attributes and lfs.symlinkattributes arguments renamed s/aname/request_name/ s/atable/result_table/ (#106) --- doc/us/manual.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/us/manual.html b/doc/us/manual.html index 3555e3d..1feb86a 100644 --- a/doc/us/manual.html +++ b/doc/us/manual.html @@ -102,15 +102,15 @@ LuaFileSystem offers the following functions:

-
lfs.attributes (filepath [, aname | atable])
+
lfs.attributes (filepath [, request_name | result_table])
Returns a table with the file attributes corresponding to filepath (or nil followed by an error message and a system-dependent error code in case of error). If the second optional argument is given and is a string, then only the value of the named attribute is returned (this use is equivalent to - lfs.attributes(filepath)[aname], but the table is not created + lfs.attributes(filepath)[request_name], but the table is not created and only one attribute is retrieved from the O.S.). - if a table is passed as the second argument, it is filled with attributes and returned instead of a new table. + if a table is passed as the second argument, it (result_table) is filled with attributes and returned instead of a new table. The attributes are described as follows; attribute mode is a string, all the others are numbers, and the time related attributes use the same time reference of @@ -239,7 +239,7 @@ LuaFileSystem offers the following functions: setting the mode has no effect, and the mode is always returned as binary.
-
lfs.symlinkattributes (filepath [, aname])
+
lfs.symlinkattributes (filepath [, request_name])
Identical to lfs.attributes except that it obtains information about the link itself (not the file it refers to). It also adds a target field, containing -- cgit v1.2.3-55-g6feb