summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-07 23:54:46 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-07 23:54:46 -0400
commit0ade54179ba2db79f72e723eceedfcd6a1757b6f (patch)
treeaa81f98abc35795e68cd08d724d5d419eecf9c8f /Test.hs
parentbdd4ad96ae5ab6bcd383765251aa18afbe55e889 (diff)
Removed support for optparse-applicative versions older than 0.10.
Debian stable has 0.10.0.
Diffstat (limited to 'Test.hs')
-rw-r--r--Test.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Test.hs b/Test.hs
index 9f211d23b..f6ac81c53 100644
--- a/Test.hs
+++ b/Test.hs
@@ -112,15 +112,11 @@ main ps = do
)
where
parseOpts pprefs pinfo args =
-#if MIN_VERSION_optparse_applicative(0,10,0)
case execParserPure pprefs pinfo args of
(Options.Applicative.Failure failure) -> do
let (msg, _exit) = renderFailure failure "git-annex test"
error msg
v -> handleParseResult v
-#else
- handleParseResult $ execParserPure pprefs pinfo args
-#endif
ingredients :: [Ingredient]
ingredients =