Re: [OpenAFS] long style command options

2009-10-01 Thread Esther Filderman
On Wed, Sep 30, 2009 at 4:07 PM, Michael Meffie mmef...@sinenomine.net wrote: I noticed that new users to OpenAFS tend to be a bit surprised when command options cannot be prefixed with two dashes. For example, permit 'vos listvol --server' in addition to 'vos listvol -server ...'. I've

[OpenAFS] Re: long style command options

2009-10-01 Thread Andrew Deason
On Thu, 1 Oct 2009 18:23:41 -0400 Esther Filderman mizmo...@gmail.com wrote: (OK, I actually like this idea, as long as everyone remembers to make it work for all AFS commands. And to eat their vegetables.) Hmm, as I recall, Mike's original patch was just a change to libcmd, so everything

Re: [OpenAFS] Re: long style command options

2009-10-01 Thread Russ Allbery
Andrew Deason adea...@sinenomine.net writes: Hmm, as I recall, Mike's original patch was just a change to libcmd, so everything using cmd would get it. However, if I recall correctly, most daemons don't use it, but some do. Do we want to be able to use -- for all daemon options, too? Yes. I

Re: [OpenAFS] Re: long style command options

2009-10-01 Thread Simon Wilkinson
On 1 Oct 2009, at 23:39, Russ Allbery wrote: I suspect one possibly good way of doing this would be to make the daemons use libcmd, although I don't know how that will interact with an eventual desire to support configuration files as well. I'd always though that the best way to

Re: [OpenAFS] Re: long style command options

2009-10-01 Thread Russ Allbery
Simon Wilkinson s...@inf.ed.ac.uk writes: On 1 Oct 2009, at 23:39, Russ Allbery wrote: I suspect one possibly good way of doing this would be to make the daemons use libcmd, although I don't know how that will interact with an eventual desire to support configuration files as well. I'd