Anthony Liguori wrote: > Joe Batt wrote: > >I disagree. /bin/sh makes a very flexible config file format that I > >use. I use it on win32, Linux and Mac OS X. > > The problem with only taking command line arguments is that the number > and size of command line arguments are severely limited on certain > platforms. This is why almost every sufficiently aged/portable program > supports either a config file or a method of taking command line options > via a file. The later is really just a particular format of a config file.
FWIW, if somebody comes up with a patch for the latter method without duplicating the option parser I'll consider applying it. Thiemo