diff options
author | 2015-07-08 15:39:05 -0400 | |
---|---|---|
committer | 2015-07-08 15:39:05 -0400 | |
commit | b2252febf1355e62a00fb735831d3b2a1aed2566 (patch) | |
tree | 621fb71f80252d300436261bb1d67ee537d1f7e9 /Command/Test.hs | |
parent | e7e61fb6cbe5455ded9bb550a64121223c099fc2 (diff) |
support cmdnorepo actions, also using getopt-applicative there
Diffstat (limited to 'Command/Test.hs')
-rw-r--r-- | Command/Test.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Command/Test.hs b/Command/Test.hs index 6f9c23d2d..57a9b16d3 100644 --- a/Command/Test.hs +++ b/Command/Test.hs @@ -12,10 +12,12 @@ import Command import Messages cmd :: Command -cmd = noRepo startIO $ dontCheck repoExists $ +cmd = noRepo (parseparams startIO) $ dontCheck repoExists $ command "test" SectionTesting "run built-in test suite" - paramNothing (withParams seek) + paramNothing (parseparams seek) + where + parseparams = withParams seek :: CmdParams -> CommandSeek seek = withWords start |