
In the cvs-libraries list Isaac Jones wrote:
ijones 2005/01/05 23:42:11 PST
Modified files: libraries/Cabal/Distribution Setup.hs Simple.hs Added files: libraries/Cabal/Distribution GetOpt.hs Log: fixed checking for unknown args Long story:
It seems that Marvin removed my beautiful and powerful "getOpt" alterations to use the System.Console one, which I had already deemed to be non-beautiful because of the errors it spews when faced with arguments it doesn't understand.
I think Marvin misunderstood the API docs that seem to suggest that the "commands" that get passed back from getOpt are the non-matched arguments. In fact, non-matched arguments get returned as errors (ewwwww). [...]
As the author of the "non-beautiful" GetOpt, :-) I would happily accept any backwards-compatible improvements/additions to that module. Any suggestions? What would help to implement Cabal? Cheers, S.