Thus spake Peter Eisentraut
> > The single-character switches are definitely non-intuitive. Implement
>
> It's a backend people! My man page shows 12 defined switches, so there are
> at least 44 character switches left. A little imagination please.
My take is that on the CL I want single character flags for speed of
entry and in startup scripts I can comment if neccesary.
> Or do you *really* want to get into the business of writing your own
> getopt replacement??? Then you are liable to end up with something even
> less intuitive.
Well, in fact I do and have. :-)
See http://www.druid.net/~darcy/files/getarg.c for a different type of
getopt. It uses a different programmer API to add some functionality
but looks the same to the user unless they know about the extras.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.