[svn-commits] russell: trunk r208706 - /trunk/main/cli.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 24 15:54:41 CDT 2009


Author: russell
Date: Fri Jul 24 15:54:37 2009
New Revision: 208706

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=208706
Log:
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.

Modified:
    trunk/main/cli.c

Modified: trunk/main/cli.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/cli.c?view=diff&rev=208706&r1=208705&r2=208706
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Fri Jul 24 15:54:37 2009
@@ -266,6 +266,11 @@
 	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;




More information about the svn-commits mailing list