Commits

Jason McKesson  committed 5c71516

Small fix for loading ext files.

  • Participants
  • Parent commits c6fec6c

Comments (0)

Files changed (1)

File modules/GetOptions.lua

 parseOpts:array_single(
 	"extfile",
 	"extfiles",
-	{"A file to load extensions from."},
+	{"A file to load extensions from.", "Files are always relative to the current directory."},
 	nil,
 	true)
 parseOpts:value(
 	"outname")
 	
 local function LoadExtFile(extensions, extfilename)
-	local hFile = assert(io.open(FixupPath(extfilename), "rt"), "Could not find the file " .. extfilename)
+	local hFile = assert(io.open(extfilename, "rt"), "Could not find the file " .. extfilename)
 	
 	for line in hFile:lines() do
 		local ext = line:match("(%S+)")