patch applied (cabal): Fix rejection of non-ambigious options
Sat Mar 8 04:09:02 PST 2008 Duncan Coutts <duncan@haskell.org> * Fix rejection of non-ambigious options This GetOpt patch was sent the the libraries list by Eelis van der Weegen with the explanation: There is a bug in System.Console.GetOpt causing it to mistakenly reject options as ambiguous. Example: optsDesc = [Option "" ["color", "colour"] (ReqArg id "color") ""] Output: option `--col' is ambiguous; could be one of: --color=color, --colour=color Foreground color --color=color, --colour=color Foreground color This error is silly, because the two alternatives listed are the same option. M ./Distribution/GetOpt.hs -2 +3 View patch online: http://darcs.haskell.org/cabal/_darcs/patches/20080308120902-adfee-8db3f20d6...
Sat Mar 8 04:09:02 PST 2008 Duncan Coutts <duncan@haskell.org> * Fix rejection of non-ambigious options This GetOpt patch was sent the the libraries list by Eelis van der Weegen with the explanation:
M ./Distribution/GetOpt.hs -2 +3
Has this patch been applied to System.Console.GetOpt in the base package as well? Regards, Malcolm
participants (2)
-
Duncan Coutts -
Malcolm Wallace