Commit ef4fcc50 authored by SamB's avatar SamB
Browse files

Fix message suggesting the --executables flag

parent 9b4acb7d
......@@ -115,8 +115,7 @@ haddock pkg_descr _ _ haddockFlags
&& not (fromFlag $ haddockExecutables haddockFlags) =
warn (fromFlag $ haddockVerbosity haddockFlags) $
"No documentation was generated as this package does not contain "
++ "a library. Perhaps you want to use the haddock command with the "
++ "--executables."
++ "a library. Perhaps you want to use the --executables flag."
haddock pkg_descr lbi suffixes flags = do
let distPref = fromFlag (haddockDistPref flags)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment