Hello.
In GHC 6.4, GetOpt no longer recognizes the -- argument, which terminates
interpretation of arguments beginning with - as switches:
import System.Console.GetOpt
import System
main = do
args - getArgs
let (_,_,f) = getOpt Permute [Option a [] (OptArg (const ()) xxx) ]
Volker Wysk wrote:
Hello.
In GHC 6.4, GetOpt no longer recognizes the -- argument, which
terminates
interpretation of arguments beginning with - as switches:
Thanks for the report. This bug is already fixed in CVS.
Cheers,
Wolfgang
___