From d79f6e17fa4c66983ac375f49f22a620ed0c10c1 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Fri, 24 Jul 2009 20:54:37 +0000
Subject: [PATCH] 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
---
 main/cli.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/main/cli.c b/main/cli.c
index f3e3e6e227..b6e99834c6 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;
-- 
GitLab