summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/cli_aliases.conf.sample1
-rw-r--r--main/cli.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/configs/cli_aliases.conf.sample b/configs/cli_aliases.conf.sample
index 1d9cd9107..79e49b2d7 100644
--- a/configs/cli_aliases.conf.sample
+++ b/configs/cli_aliases.conf.sample
@@ -27,6 +27,7 @@ hangup request=channel request hangup
originate=channel originate
help=core show help
pri intense debug span=pri set debug 2 span
+reload=module reload
; CLI Alias Templates
; -------------------
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;