fix usage

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7498 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-02-03 04:23:08 +00:00
parent 70c9b98c15
commit 961b483c40
1 changed files with 1 additions and 1 deletions

View File

@ -1343,7 +1343,7 @@ SWITCH_STANDARD_API(originate_function)
switch_status_t status = SWITCH_STATUS_SUCCESS;
if (session || switch_strlen_zero(cmd)) {
stream->write_function(stream, "-ERR Illegal Usage\n");
stream->write_function(stream, "-USAGE %s\n", ORIGINATE_SYNTAX);
return SWITCH_STATUS_SUCCESS;
}