aboutsummaryrefslogtreecommitdiffstats
path: root/main/cli.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-24 20:54:37 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-07-24 20:54:37 +0000
commit661b4437755cd7530822bd1611bf9762ef73009b (patch)
treee72e2b5291d59a5af7cda85925f89c18703f74a9 /main/cli.c
parent28b480de5b1e8acbdf4066b1cf826ca9a6b68464 (diff)
Note that "reload" needs to be added back.
I keep getting annoyed at having to type "module reload" to reload everything, so I'm adding a note that we need to add "reload" back. "module reload" doesn't really make sense as the command to reload everything, including the core. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208706 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/cli.c b/main/cli.c
index f3e3e6e22..b6e99834c 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -266,6 +266,11 @@ 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;