reassign 659636 hpodder
thanks
Hi Joachim,
Fair enough. I'll reassign back to hpodder.
I know the code hadn't changed in a long while, which is why I suspected
something else.
-- John
On 02/17/2012 10:34 AM, Joachim Breitner wrote:
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
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org