From 961b483c408ca56aa0d578e066693d45f538a997 Mon Sep 17 00:00:00 2001 From: Brian West Date: Sun, 3 Feb 2008 04:23:08 +0000 Subject: [PATCH] fix usage git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7498 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_commands/mod_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 98481ea38f..20776160c8 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -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; }