[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: patch to disable SLP registration from commandline (ITS#3132)



On Wed, May 19, 2004 at 10:07:38AM -0700, Kurt D. Zeilenga wrote:
> At 12:37 AM 5/19/2004, ando@sys-net.it wrote:
[..]
> >
> >I suggest
> >
> >        -o slp={ON|off} )
> >
> >with default (if any) uppercased.
> 
> In the long run, this seems best.  It also makes it easier
> to add something like:
>         -o slp="<list of URLs>"
> 
> in the future (as well as options for other things).

But wouldn't it then be easier to switch to getopt_long(3) allowing long
option names, and just use "--slp={ON|off}" or "--slp-urls=<URLs>" ? 

Is there anything speaking against it (apart of the fact that the code
isn't there yet) ?

-- 
Ralf