提交 78e3aa20 authored 作者: Brian West's avatar Brian West

put this usage syntax in the right place

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7115 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 4aca5fc0
......@@ -537,7 +537,7 @@ SWITCH_STANDARD_API(status_function)
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_STANDARD_API(ctl_function)
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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论