]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Modules: Additional improvements to CLI completion.
authorCorey Farrell <git@cfware.com>
Mon, 30 Oct 2017 22:30:18 +0000 (18:30 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 2 Nov 2017 12:29:47 +0000 (08:29 -0400)
commitaf2947c013b2ce15c2e65f10fd80df233ec58569
tree1f6494f53b8daa57ad0ed3960f5eb25bae7c9fd3
parent21b922b565bdba9254445d1002a8a077d50ebe88
Modules: Additional improvements to CLI completion.

Replace 'needsreload' argument with a 'type' argument to specify which
type of modules you want completion.  This provides more accurate CLI
completion for load and unload commands.

* 'module unload' now excludes modules that have active references or are
  not running.
* 'module load' now excludes modules that are already running.
* 'core set debug [atleast] <level> [module]' shows running modules only.

ASTERISK-27378

Change-Id: Iea3e00054461484196c46f688f02635cc886bad1
include/asterisk/module.h
main/cli.c
main/loader.c