[asterisk-commits] lmadsen: trunk r256821 - /trunk/main/logger.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Apr 12 09:39:43 CDT 2010
Author: lmadsen
Date: Mon Apr 12 09:39:37 2010
New Revision: 256821
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=256821
Log:
CLI command logger set level auto complete.
A simple patch to enable auto tab complete.
(closes issue #17152)
Reported by: pabelanger
Patches:
0017152.patch uploaded by pabelanger (license 224)
Modified:
trunk/main/logger.c
Modified: trunk/main/logger.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/logger.c?view=diff&rev=256821&r1=256820&r2=256821
==============================================================================
--- trunk/main/logger.c (original)
+++ trunk/main/logger.c Mon Apr 12 09:39:37 2010
@@ -669,9 +669,9 @@
switch (cmd) {
case CLI_INIT:
- e->command = "logger set level";
+ e->command = "logger set level {DEBUG|NOTICE|WARNING|ERROR|VERBOSE|DTMF} {on|off}";
e->usage =
- "Usage: logger set level\n"
+ "Usage: logger set level {DEBUG|NOTICE|WARNING|ERROR|VERBOSE|DTMF} {on|off}\n"
" Set a specific log level to enabled/disabled for this console.\n";
return NULL;
case CLI_GENERATE:
More information about the asterisk-commits
mailing list