Tue, 11 Sep 2018 21:39:56 +0100
main: Add long form of -d: --script-dir
main.lua | file | annotate | diff | comparison | revisions |
--- a/main.lua Tue Sep 11 21:34:22 2018 +0100 +++ b/main.lua Tue Sep 11 21:39:56 2018 +0100 @@ -84,7 +84,7 @@ elseif opt == "--quiet" or opt == "-q" then verse_log_levels = { "error" }; quiet = true; - elseif opt == "-d" then + elseif opt == "--script-dir" or opt == "-d" then local have_lfs, lfs = pcall(require, "lfs"); if not have_lfs then error("The '-d' parameter requires LuaFileSystem (lfs), please make sure this library is available");