From 716d81a28b194de6a5b4304aff9aaa637b26a974 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Thu, 17 Nov 2011 03:34:36 +0800 Subject: [PATCH] add missing d (device) option --- reader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.lua b/reader.lua index 9460672c5..336a0a503 100755 --- a/reader.lua +++ b/reader.lua @@ -40,7 +40,7 @@ longopts = { device = "d", help = "h" } -optarg, optind = alt_getopt.get_opts(ARGV, "p:G:hg:", longopts) +optarg, optind = alt_getopt.get_opts(ARGV, "p:G:hg:d:", longopts) if optarg["h"] or ARGV[optind] == nil then print("usage: ./reader.lua [OPTION] ... DOCUMENT.PDF") print("Read PDFs on your E-Ink reader")