fix getopt module clearance in reader.lua

pull/2/merge
Qingping Hou 12 years ago
parent fe43ec7976
commit 75f2c2774f

@ -6,7 +6,6 @@ require "ui/readerui"
require "ui/filechooser"
require "ui/infomessage"
require "document/document"
require "alt_getopt"
function showReader(file, pass)
local document = DocumentRegistry:openDocument(file)
@ -87,8 +86,6 @@ function showusage()
return
end
optarg, optind = alt_getopt.get_opts(ARGV, "p:G:hg:dg:", longopts)
if ARGV[1] == "-h" then
return showusage()
end

Loading…
Cancel
Save