]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix skinny debug tab completion
authorDamien Wedhorn <voip@facts.com.au>
Thu, 13 Dec 2012 18:19:35 +0000 (18:19 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Thu, 13 Dec 2012 18:19:35 +0000 (18:19 +0000)
Review the syntax of the 'skinny debug' command to show more than
just 'show' for options to 'skinny debug' command.

(closes issue ASTERISK-20789)
Reported by: snuffy
Tested by: snuffy, myself
Patches:
    skinny-debug.diff uploaded by snuffy (license 5024)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@377985 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index 2997ac834ec69d2313788582f450e2b76e8c7f6e..6ad7775db7e529bcb74ccda9d18ced667acfefb8 100644 (file)
@@ -3310,9 +3310,9 @@ static char *handle_skinny_set_debug(struct ast_cli_entry *e, int cmd, struct as
 
        switch (cmd) {
        case CLI_INIT:
-               e->command = "skinny debug [show|{off|all|packet|sub|audio|template|lock}]";
+               e->command = "skinny debug {audio|hint|lock|off|packet|show|sub|template|thread}";
                e->usage =
-                       "Usage: skinny debug [show|{off|on|packet|sub|audio|template|lock}]\n"
+                       "Usage: skinny debug {audio|hint|lock|off|packet|show|sub|template|thread}\n"
                        "       Enables/Disables various Skinny debugging messages\n";
                return NULL;
        case CLI_GENERATE: