diff --git a/license.html b/license.html
index b9f1c6a..3003381 100644
--- a/license.html
+++ b/license.html
@@ -3,7 +3,7 @@
LuaFileSystem
-
+
diff --git a/manual.html b/manual.html
index aca0d4e..33c1cbe 100644
--- a/manual.html
+++ b/manual.html
@@ -3,7 +3,7 @@
LuaFileSystem
-
+
@@ -227,8 +227,10 @@ LuaFileSystem offers the following functions:
in case of error, it returns nil plus an error string.
lfs.setmode (file, mode)
-
Sets the writing mode for a file. The mode string can be either binary or text.
- Returns the previous mode string for the file. On non-Windows platforms, where the two modes are identical,
+
Sets the writing mode for a file. The mode string can be either "binary" or "text".
+ Returns true followed the previous mode string for the file, or
+ nil followed by an error string in case of errors.
+ On non-Windows platforms, where the two modes are identical,
setting the mode has no effect, and the mode is always returned as binary.