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

Luigi Rizzo rizzo at icir.org
Wed Oct 25 09:19:01 MST 2006


On Wed, Oct 25, 2006 at 03:56:08PM -0000, asterisk-commits at lists.digium.com wrote:
> Author: oej
> Date: Wed Oct 25 10:56:08 2006
> New Revision: 46216
> 
> URL: http://svn.digium.com/view/asterisk?rev=46216&view=rev
> Log:
> show settings doesn't produce a list 
> of similar objects, it should stay a "show"

so what was the agreement, that "show" produces a single
object and "list" produces a list with a header ?

I know it doesn't make sense for a human user, but having a
rule for this makes life a lot simpler in parsing the cli
output to produce xml or html

cheers
luigi


More information about the asterisk-dev mailing list