[getopt-sig] my vote is for automatic usage message generation

Piers Lauder piers@cs.su.oz.au
Thu, 14 Feb 2002 12:03:58 +1100


While I agree with Russ Cox that the declaration of arguments should
(and can) be simple, and, as a programmer, I really appreciate the clean
interface he demonstrates, my overriding need is for automatic generation
of usage messages (the response to --help).

I would argue that parsing arguments has never been a serious problem,
merely a tedious problem.

All the serious problems that I've experienced with argument parsing
have come from incorrect (out-of-date) usage messages confusing users.

And program invoking users are those who matter here, the arguments are
their interface to the programs we write.

Piers Lauder.