httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: [PATCH] Cleanup command line options (PR#2714)
Date Tue, 28 Jul 1998 20:03:40 GMT
On Tue, 28 Jul 1998, Gregory A Lundberg wrote:

> On Tue, 28 Jul 1998, Marc Slemko wrote:
> 
> > Read the bugdb for the PR.  You can't do that because getopt is defined as
> > returning '?' so you no longer know invalid options.
> 
> getopt returns '?' for exactly the reason you seem to have trouble with. 
> the idea is '-?' means "I need help" and isn't invalid.  If you want to
> display some helpful text when an invalid option appears, why not do the
> same help as '-?' and offer help to the user.

Yea, ok.  That makes sense.  I guess I was confused by assuming what Ralph
was saying about it not working was right.

I really don't see the big deal with it either way though; it works just
fine right now.  I'm not going to say anything more on this since it is
too silly to be worth the waste of time. 



Mime
View raw message