mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add missing d (device) option
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user