From d4660e198c3c4c6dbf792a2ce3502bc7b8b35bef Mon Sep 17 00:00:00 2001 From: Andriel Chaoti <3628387+AndrielChaoti@users.noreply.github.com> Date: Mon, 11 Sep 2023 22:47:23 -0600 Subject: [PATCH] fix a bug that caused raw flag to not be settable --- autofish.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autofish.lua b/autofish.lua index d2e67e73e0..b80c3d1b08 100644 --- a/autofish.lua +++ b/autofish.lua @@ -210,7 +210,8 @@ end local positionals = argparse.processArgsGetopt(args, {{"r", "raw", hasArg=true, handler=function(optArg) - return argparse.boolean(optArg, "raw") + local val = argparse.boolean(optArg, "raw") + set_useRaw(val) end} })