[Freeswitch-svn] [commit] r7115 - freeswitch/trunk/src/mod/applications/mod_commands
Freeswitch SVN
brian at freeswitch.org
Sun Jan 6 18:03:12 EST 2008
Author: brian
Date: Sun Jan 6 18:03:12 2008
New Revision: 7115
Modified:
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Log:
put this usage syntax in the right place
Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Sun Jan 6 18:03:12 2008
@@ -537,7 +537,7 @@
return SWITCH_STATUS_SUCCESS;
}
-#define CTL_SYNTAX "[hupall|pause|resume|shutdown]"
+#define CTL_SYNTAX "[hupall|pause|resume|shutdown|reclaim_mem|max_sessions [num]|loglevel [level]]"
SWITCH_STANDARD_API(ctl_function)
{
int argc;
@@ -601,7 +601,7 @@
switch_core_session_ctl(SCSC_SPS, &arg);
stream->write_function(stream, "+OK sessions per second: %d\n", arg);
} else {
- stream->write_function(stream, "-ERR INVALID COMMAND\nUSAGE: fsctl [hupall|pause|resume|shutdown|reclaim_mem|max_sessions [num]|loglevel [level]]\n");
+ stream->write_function(stream, "-ERR INVALID COMMAND\nUSAGE: fsctl %s", CTL_SYNTAX);
goto end;
}
More information about the Freeswitch-svn
mailing list