aboutsummaryrefslogtreecommitdiffstats
path: root/main/cli.c
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-25 12:03:25 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-25 12:03:25 +0000
commit9d2db62b6159a183e490e3a9f168c82b2499fc6c (patch)
tree76edff30355d066687ee88087d9f5a4844a997dd /main/cli.c
parent8b161d8e38a44525adff4f1269ff0baf0f1913ff (diff)
add default alias reload to run module reload.
Requiring 'module reload' to reload everything, including core etc makes russell very unhappy. The default configuration already loads the 'friendly' aliases template. Added 'reload=module reload' to that template. Also removed the comment in main/cli.c that reload should come back. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208813 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/cli.c b/main/cli.c
index b6e99834c..f3e3e6e22 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -266,11 +266,6 @@ static char *handle_load(struct ast_cli_entry *e, int cmd, struct ast_cli_args *
return CLI_SUCCESS;
}
-/*!
- * \bug The command "reload" needs to be re-added. Requiring "module reload" to reload everything,
- * including core stuff, doesn't really make sense. Adding a "core reload" to reload everything,
- * including modules, also doesn't really make sense. So, we should put "reload" back.
- */
static char *handle_reload(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
int x;