[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36
John Goerzen
jgoerzen at complete.org
Fri Apr 23 14:57:51 UTC 2010
The following commit has been merged in the master branch:
commit 2e46f9aa55cd5a31f54f2eba753da50f9a090154
Author: John Goerzen <jgoerzen at complete.org>
Date: Tue Apr 19 00:01:05 2005 +0100
Fix formatting error
diff --git a/MissingH/GetOpt.hs b/MissingH/GetOpt.hs
index 932535d..696039c 100644
--- a/MissingH/GetOpt.hs
+++ b/MissingH/GetOpt.hs
@@ -72,7 +72,7 @@ validateCmdLine order options header func =
do res <- parseCmdLine order options header
case func res of
Nothing -> return res
- Just error -> ioError (userError (concat [error] ++
+ Just error -> ioError (userError (error ++ "\n" ++
usageInfo header options))
{- | A type to standardize some common uses of GetOpt.
--
haskell-testpack
More information about the Pkg-haskell-commits
mailing list