From 75f2c2774fd24edbe305a1a61199f460bcd9a4a2 Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Wed, 31 Oct 2012 22:15:02 -0400 Subject: [PATCH] fix getopt module clearance in reader.lua --- reader.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/reader.lua b/reader.lua index 3b6eae487..0e82245e0 100755 --- a/reader.lua +++ b/reader.lua @@ -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