A simple patch to enable auto tab complete.
(closes issue #17152)
Reported by: pabelanger
Patches:
0017152.patch uploaded by pabelanger (license 224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256821
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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: