[asterisk-dev] CLI: list vs show ? (Re: [asterisk-commits] oej: branch 1.4 r46216 - /branches/1.4/channels/chan_sip.c)

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Oct 26 12:54:25 MST 2006


[There is no need to hit Reply-All.  I'm already on the list, and I do
not need two copies of your response.]

On Thursday 26 October 2006 14:33, Brian Candler wrote:
> On Thu, Oct 26, 2006 at 11:05:12AM -0500, Tilghman Lesher wrote:
> > On Thursday 26 October 2006 08:30, Brian Candler wrote:
> > > On Wed, Oct 25, 2006 at 07:36:56PM -0500, Tilghman Lesher wrote:
> > > > > It is _not_ "noun verb", it is "category noun verb". I don't
> > > > > think very many people would want 50+ commands that all start
> > > > > with 'show' and tab completion that crosses all the possible
> > > > > categories.
> > > >
> > > > s/category noun verb/category verb argument/
> > > >
> > > > "sip" is the category, "show" is the verb, "peers" is the
> > > > argument.
> > >
> > > Ah, but it's not any more - it's "sip list peers", or else
> > > "sip show peer <foo>". That's what I find confusing.
> >
> > I beg your pardon.  How is "show" not a verb?  How is "list"
> > not a verb?  While my example was admittedly out of date, the
> > basic form of it is very consistent.
>
> I'm not disagreeing with you, and it's a different point. The example
> "sip show peers" is no longer valid syntax in Asterisk, and from what
> I've read, I'm not the only one to find it confusing.

I agree, which is why I've proposed bug # 8236, entitled:
	"list" considered harmful

-- 
Tilghman


More information about the asterisk-dev mailing list