This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [patch] Help Option
Robert Collins <rbcollins@cygwin.com> wrote:
> On Mon, 2002-11-25 at 12:16, Max Bowsher wrote:
>> Setup has all these wonderful command line options, but no way to
>> find out what they are!
>>
>> Possible patch below. exit(0) seems a little clumsy. Would you
>> rather I did something via theLog ?
>> Although I think we don't really want logs just for a help
>> invocation.
>
> But as static destructors don't seem to fire under native Win32, we
> should use theLog.
Yes, I was actually taking advantage of the fact that the destructors don't
fire, because I don't think we should be logging for a help invocation.
> As for the patch, it's good :}. I've designed what I need to do to
> libgetOpt++ to make gui help happen. We need a strategy for
> ParameterUsage, with a builtin strategy that does the current
> behaviour. We then provide a new strategy, and that will call back a
> class of ours with each parameter. It's pretty trivial, but I've
> overrun my time budget for cygwin already today, so .. another day.
> We need a strategy because a stream isn't structured enough for
> possible GUI help displays.
GUI help for command line options! Seems... excessive?
Max.