]> 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:31:20 +0000 (07:31 -0500)
commitbfb0f27c87fe7fe5083e1f3098b840527975095f
tree20ebe28a516c78e9479abfc87c15e67c0b839048
parenta7c00707a596d1254eab56e7f4162f78a176b42a
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