fix haddock breakage

This commit is contained in:
Simon Michael 2010-11-19 20:14:48 +00:00
parent fd10736373
commit f58ce26407

View File

@ -37,10 +37,10 @@ main = do
| HelpOptions `elem` opts = putStr help2
| HelpAll `elem` opts = putStr $ help1 ++ "\n" ++ help2
| Version `elem` opts = putStrLn versionmsg
-- | BinaryFilename `elem` opts = putStrLn binaryfilename
-- \| BinaryFilename `elem` opts = putStrLn binaryfilename
| null cmd = maybe (putStr help1) (withJournalDo opts args cmd) defaultcmd
| cmd `isPrefixOf` "web" = withJournalDo opts args cmd web
-- | cmd `isPrefixOf` "test" = runtests opts args >> return ()
-- \| cmd `isPrefixOf` "test" = runtests opts args >> return ()
| otherwise = putStr help1
defaultcmd = Just web