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

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

Aside from implementation issues Ando noted, I note that
I suggested that we use the -o key=value pair as it is
consistent with what we use elsewhere (for instance,
extension specification in client tools).  The format is
derived from that used in LDAP URLs, and can easily be
adapted (and has been) for use in configuration files and
the command line.


At 06:21 AM 5/24/2004, rhafer@suse.de wrote:
>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) ?