On Tue, Mar 27, 2007 at 01:32:51PM +0200, Tim Dijkstra wrote: > Hi Stefan, > > Thanks for the comments, I'll integrate them and try to minimize the > number of ifdefs. > > On Tue, 27 Mar 2007 13:23:03 +0200 > Stefan Seyfried <[EMAIL PROTECTED]> wrote: > > > > +#endif > > > + case '?': > > > > Will probably not work, since it is not in options[] above? > > getopts returns ? if an option other than those specified in optstring > are used, that way you can catch invalid options.
ok, i learn something new every day (even on the wrong list, as i noticed after sending ;-) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
