diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-08-24 21:55:06 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-08-24 21:55:06 +0200 |
commit | ff5c3f5a91e249694f3b76109027cf9d0c717a7c (patch) | |
tree | 28cbf5a869066aae0f4915ad904a8d5b6d08bdc8 /src/Main.hs | |
parent | 66a8467a29a8850871606955211376178f691401 (diff) |
Option to wait at the end of each test
Changelog: Add --wait option to wait at the end of each test
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs index 4e6176f..20b3da2 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -64,6 +64,9 @@ options = , Option ['V'] ["version"] (NoArg $ \opts -> opts { optShowVersion = True }) "show version and exit" + , Option [] ["wait"] + (NoArg $ to $ \opts -> opts { optWait = True }) + "wait at the end of each test" ] where to f opts = opts { optTest = f (optTest opts) } |