[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
Wed Oct 25 17:36:56 MST 2006
On Wednesday 25 October 2006 18:37, Kevin P. Fleming wrote:
> Steve Edwards wrote:
> > What was the inspiration for changing the command syntax?
>
> It was already headed in that direction. You could not list SIP peers
> by typing 'show sip peers', it was 'sip show peers'. All we did was
> make an effort to make it consistent and logically organized.
>
> 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.
--
Tilghman
More information about the asterisk-dev
mailing list