diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getopts.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getopts.lua b/lib/getopts.lua index 644b741..1c8b7bf 100644 --- a/lib/getopts.lua +++ b/lib/getopts.lua @@ -11,7 +11,7 @@ function setoptsinfile (file, search, option, value) opts[search] = {} end if not (search) or not (option) then - return nil, "Systeminformation - Invalid usage of function getopts.setoptsinfile()" + return fales, nil, "Systeminformation - Invalid usage of function getopts.setoptsinfile()" end --Change to new value @@ -34,7 +34,7 @@ function setoptsinfile (file, search, option, value) else fs.write_file(file,string.match(newfilecontent, "(.-)\n*$")) end - return true, "File '" .. file .. "'has been modifyed!" + return true, "File '" .. file .. "' has been modifyed!", nil end function getoptsfromfile (file, search, filter) |