summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <quaker66@gmail.com>2014-02-03 12:12:14 +0000
committerDaniel Kolesa <quaker66@gmail.com>2014-02-03 12:12:14 +0000
commit3c8210a1e678517bd3f18d06e4ea6cd34301d0e2 (patch)
treea311915ea23ec17a4c7aa634d34af1bfc74e83b3
parent1ad581d09abcce22349a50b70b5eeda2f4014d7e (diff)
weight fix
-rw-r--r--util.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.lua b/util.lua
index b268342..2395598 100644
--- a/util.lua
+++ b/util.lua
@@ -1174,8 +1174,8 @@ M.parse_args = function(args, conf, engs)
1174 if i == argn or has.test then help() end 1174 if i == argn or has.test then help() end
1175 local v = tonumber(args[i + 1]) 1175 local v = tonumber(args[i + 1])
1176 if not v then help() end 1176 if not v then help() end
1177 conf.test = v 1177 conf.test = v + 2
1178 has.test = true 1178 if conf.test < 3 then conf.test = 3 end
1179 elseif arge == "-y" then 1179 elseif arge == "-y" then
1180 if has.async then help() end 1180 if has.async then help() end
1181 conf.async = true 1181 conf.async = true