Module: sip-router
Branch: master
Commit: 72a573889c0126fedee20e80ff0fb5cf9f772a49
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=72a5738…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Jun 29 00:59:17 2009 +0200
sercmd: tab completion support for cfg. vars & groups
- tab completion is now supported for cfg. groups and variables
parameters for the following rpc commands: cfg.help, cfg,get,
cfg.set_now_int, cfg.set_now_string, cfg.set_delayed_int,
cfg.set_delayed_int.
E.g.:
sercmd> cfg.help t<TAB>
tcp tm
sercmd> cfg.help tm fr_<TAB>
fr_inv_timer fr_timer
sercmd> cfg.help tm fr_i<TAB>
sercmd> cfg.help tm fr_inv_timer
- tab completion fixed when spaces are in front of the command
name (e.g. sercmd> wh<TAB> works now).
---
utils/sercmd/Makefile | 2 +-
utils/sercmd/sercmd.c | 444 +++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 390 insertions(+), 56 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=72a…