Renamed register_ac->completer_add

This commit is contained in:
James Booth
2016-04-07 20:49:46 +01:00
parent f4accf64ef
commit 709ae90e88
7 changed files with 30 additions and 30 deletions

View File

@@ -342,7 +342,7 @@ def prof_init(version, status):
prof.register_command("/python-test", 1, 5, synopsis, description, args, examples, _cmd_pythontest)
prof.register_ac("/python-test",
prof.completer_add("/python-test",
[
"consalert",
"consshow",
@@ -361,19 +361,19 @@ def prof_init(version, status):
"int",
"incoming" ]
)
prof.register_ac("/python-test get",
prof.completer_add("/python-test get",
[ "recipient", "room" ]
)
prof.register_ac("/python-test log",
prof.completer_add("/python-test log",
[ "debug", "info", "warning", "error" ]
)
prof.register_ac("/python-test boolean",
prof.completer_add("/python-test boolean",
[ "get", "set" ]
)
prof.register_ac("/python-test string",
prof.completer_add("/python-test string",
[ "get", "set" ]
)
prof.register_ac("/python-test int",
prof.completer_add("/python-test int",
[ "get", "set" ]
)