Fixup skinny CLI completion.
authorDamien Wedhorn <voip@facts.com.au>
Tue, 19 Feb 2013 06:50:57 +0000 (06:50 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Tue, 19 Feb 2013 06:50:57 +0000 (06:50 +0000)
commit96025d5dfce87cb13aee552d69b4bded822a389e
treed57c67b34d70430d736abf1f4f4a91ec2897490c
parent4c76dbc8b29089af496e8c6677dd53386b81fca7
Fixup skinny CLI completion.

Auto complete for skinny debug allows multiple options and negation, also add
debug all option. Usage example: 'skinny debug all -packets' (each can be
autocompleted including -packet).

Change show device to use device name. Remove the duplicate ast_strdup's from
place calling device complete return immediately from complete devicename and
complete linename so that multiple options are displayed on the CLI if more
than one option available.

Review: https://reviewboard.asterisk.org/r/2333/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c