fix getopt module clearance in reader.lua

This commit is contained in:
Qingping Hou
2012-10-31 22:15:02 -04:00
parent fe43ec7976
commit 75f2c2774f

View File

@@ -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