Skip to content
Snippets Groups Projects
Commit c9f48c3e authored by agl's avatar agl
Browse files

Ticket 176: Fix verbosity error to include the valid -v values

parent 7f18d1e1
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,8 @@ flagToVerbosity (Just s)
[(i, "")] ->
case intToVerbosity i of
Just v -> v
Nothing -> error ("Bad verbosity " ++ show i)
Nothing -> error ("Bad verbosity: " ++ show i ++
". Valid values are 0..3")
_ -> error ("Can't parse verbosity " ++ s)
showForCabal, showForGHC :: Verbosity -> String
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment