Note that "reload" needs to be added back.
authorRussell Bryant <russell@russellbryant.com>
Fri, 24 Jul 2009 20:54:37 +0000 (20:54 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 24 Jul 2009 20:54:37 +0000 (20:54 +0000)
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

index f3e3e6e..b6e9983 100644 (file)
@@ -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;