aboutsummaryrefslogtreecommitdiff
path: root/Command/Test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-08 15:08:02 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-08 15:08:02 -0400
commite7e61fb6cbe5455ded9bb550a64121223c099fc2 (patch)
tree003a99697256ea516ad40f9fbdb854996b58c0cd /Command/Test.hs
parent8879c96d157f06bbd2372064251676b7927ce38e (diff)
convert all commands to work with optparse-applicative
Still no options though.
Diffstat (limited to 'Command/Test.hs')
-rw-r--r--Command/Test.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Test.hs b/Command/Test.hs
index af02985af..6f9c23d2d 100644
--- a/Command/Test.hs
+++ b/Command/Test.hs
@@ -13,10 +13,11 @@ import Messages
cmd :: Command
cmd = noRepo startIO $ dontCheck repoExists $
- command "test" paramNothing seek SectionTesting
+ command "test" SectionTesting
"run built-in test suite"
+ paramNothing (withParams seek)
-seek :: CommandSeek
+seek :: CmdParams -> CommandSeek
seek = withWords start
{- We don't actually run the test suite here because of a dependency loop.