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

Steve Edwards asterisk.org at sedwards.com
Wed Oct 25 20:15:44 MST 2006


On Wed, 25 Oct 2006, 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.

Can I propose a different but consistent and logically organized approach?

 	show peers		-- show all peers
 	show iax peers
 	show sip peers

 	show channels		-- show all channels
 	show iax channels
 	show sip channels
 	show zap channels

 	verb noun
 	verb [adjective] noun

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000


More information about the asterisk-dev mailing list