From 5f79ebf2615bc974ff118b6dfc7e3c22f284d2ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 21 Nov 2026 10:06:06 +0100 Subject: Fix timeout argument parsing --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Main.hs') diff --git a/src/Main.hs b/src/Main.hs index 8e89f7c..53799e5 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -82,7 +82,7 @@ options = "never use colors for output (default when stdout is not a tty)" , Option ['t'] ["timeout"] (ReqArg (\str -> to $ \opts -> case readMaybe str of - Just timeout -> opts { optTimeout = timeout } + Just timeout -> opts { optTimeout = Just timeout } Nothing -> error "timeout must be a number") "") "default timeout in seconds with microsecond precision" , Option ['g'] ["gdb"] -- cgit v1.2.3