Hi, Am Donnerstag, den 16.02.2012, 10:02 -0600 schrieb John Goerzen: > I believe that this is a bug in GetOpt - actually a regression from what > it used to do. You can note the examples in the bug log of how it fails > in certain ways now.
I’m trying to reproduce it with a small example, but failed to do so: Prelude> :m + System.Console.GetOpt Prelude System.Console.GetOpt> getOpt RequireOrder [Option "l" ["long"] (ReqArg id "") ""] ["-l","a b c"] (["a b c"],[],[]) Prelude System.Console.GetOpt> getOpt RequireOrder [Option "l" ["long"] (ReqArg id "") ""] ["--long","a b c"] (["a b c"],[],[]) Prelude System.Console.GetOpt> getOpt Permute [Option "l" ["long"] (ReqArg id "") ""] ["--long","a b c"] (["a b c"],[],[]) Prelude System.Console.GetOpt> getOpt Permute [Option "l" ["long"] (ReqArg id "") ""] ["-l","a b c"] (["a b c"],[],[]) Prelude System.Console.GetOpt> getOpt Permute [Option "l" ["long"] (ReqArg id "") ""] ["-la b c"] (["a b c"],[],[]) Prelude System.Console.GetOpt> getOpt Permute [Option "l" ["long"] (ReqArg id "") ""] ["--long=a b c"] (["a b c"],[],[]) looks all very well... Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: This is a digitally signed message part

