From c400e2b11cd5bfe7bd19def3e10318338f8db224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 18 Apr 2023 20:37:00 +0200 Subject: Command-line option to keep test directory --- src/Main.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Main.hs') diff --git a/src/Main.hs b/src/Main.hs index c9fbf50..7af4c72 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -56,7 +56,10 @@ options = "run GDB and attach spawned processes" , Option ['f'] ["force"] (NoArg $ to $ \opts -> opts { optForce = True }) - "remove test directory if it exists instead of stopping" + "remove test directory if it already exists instead of stopping" + , Option ['k'] ["keep"] + (NoArg $ to $ \opts -> opts { optKeep = True }) + "keep test directory even if all tests succeed" , Option ['V'] ["version"] (NoArg $ \opts -> opts { optShowVersion = True }) "show version and exit" -- cgit v1.2.3