[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Console client plug-in options

From: Marco Gerards
Subject: Re: Console client plug-in options
Date: 08 Aug 2003 02:01:43 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Wolfgang Jaehrling <pro-linux@gmx.de> writes:

> On Thu, Aug 07, 2003 at 11:48:41PM +0200, Marco Gerards wrote:
> > It is hard to write a nice parser.
> [...]
> > The syntax would be:
> > console {OPTIONS} {-d DRIVER [suboptions]} CONSOLE
> I can not see how this solves the problem that it is hard to write a
> nice parser.  The suboptions-variant has the disadvantage of
> destroying the consistency of the user interface.  A better solution
> might be to provide an replacement for argp in the console client that
> can be used by drivers, so that only once a nice parser needs to be
> written (though it might even be possible to use existing code from
> somewhere).  Another solution is to use one of the commandline parser
> generators out there, though I do not know whether they are good
> enough for you/us.

Break the consistency? I think it only improves, with this it is
easier to see to which driver an option belongs, it all gets grouped.

Perhaps an argp replacement or a small library would be nice. One
problem is that the small options of the driver and of the console can

I don't know any (good) commandline parser generators. If you know one
that is really good and can help me, please tell me.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]