summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-04-18 20:37:00 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-04-18 20:38:57 +0200
commitc400e2b11cd5bfe7bd19def3e10318338f8db224 (patch)
tree60509728d1a0c335cba9f9c89407884700373d42 /src/Main.hs
parent95e2468b3c92e6689a5de4a2c03a79b3ef035f8b (diff)
Command-line option to keep test directory
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs5
1 files changed, 4 insertions, 1 deletions
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"