summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2009-07-24 20:54:37 +0000
committerRussell Bryant <russell@russellbryant.com>2009-07-24 20:54:37 +0000
commitd79f6e17fa4c66983ac375f49f22a620ed0c10c1 (patch)
treee72e2b5291d59a5af7cda85925f89c18703f74a9
parent5d28d72d376453753fb77c3a5db716219f9b2a93 (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: https://origsvn.digium.com/svn/asterisk/trunk@208706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-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;