From: Janne H. <ja...@hy...> - 2004-12-09 19:52:56
|
Hello, I believe I have found a bug in function OptParse.OptParser.make. The documentation states that "Any occurrence of the substring "%prog" in usage is replaced with the name of the program". This suggests that all occurrences of that string are replaced. This is not the case: the substitution of %prog (unprogify in optParse.ml) uses ExtString.String.replace internally, which replaces only the first matching %prog. * * Has there been any discussion on providing examples on how to use extlib? I think using OptParse would be easier if there were some simple example applications around. Does there exist a regression test suite for extlib? Btw: I upgraded the GODI package for extlib to use the new 1.3 version yesterday. Best regards, Janne Hellsten |