summaryrefslogtreecommitdiff
path: root/apps/app_exec.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-11-06 19:04:45 +0000
committerMark Michelson <mmichelson@digium.com>2007-11-06 19:04:45 +0000
commit5a4867543d268d68b9cfebcef6e02bb9e032173e (patch)
tree7700cf1ff2f8a29dd724b11a624ddc8f57a199b5 /apps/app_exec.c
parent8b917df39b2f10e3d9e59bad8d84a50eb4b23f13 (diff)
"show application <foo>" changes for clarity.
(closes issue #11171, reported and patched by blitzrage) Many thanks! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_exec.c')
-rw-r--r--apps/app_exec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/app_exec.c b/apps/app_exec.c
index 048c33851..830968400 100644
--- a/apps/app_exec.c
+++ b/apps/app_exec.c
@@ -61,8 +61,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
static char *app_exec = "Exec";
static char *exec_synopsis = "Executes dialplan application";
static char *exec_descrip =
-"Usage: Exec(appname(arguments))\n"
-" Allows an arbitrary application to be invoked even when not\n"
+" Exec(appname(arguments)):\n"
+"Allows an arbitrary application to be invoked even when not\n"
"hardcoded into the dialplan. If the underlying application\n"
"terminates the dialplan, or if the application cannot be found,\n"
"Exec will terminate the dialplan.\n"
@@ -72,11 +72,11 @@ static char *exec_descrip =
static char *app_tryexec = "TryExec";
static char *tryexec_synopsis = "Executes dialplan application, always returning";
static char *tryexec_descrip =
-"Usage: TryExec(appname(arguments))\n"
-" Allows an arbitrary application to be invoked even when not\n"
+" TryExec(appname(arguments)):\n"
+"Allows an arbitrary application to be invoked even when not\n"
"hardcoded into the dialplan. To invoke external applications\n"
"see the application System. Always returns to the dialplan.\n"
-"The channel variable TRYSTATUS will be set to:\n"
+"The channel variable TRYSTATUS will be set to one of:\n"
" SUCCESS if the application returned zero\n"
" FAILED if the application returned non-zero\n"
" NOAPP if the application was not found or was not specified\n";
@@ -84,7 +84,7 @@ static char *tryexec_descrip =
static char *app_execif = "ExecIf";
static char *execif_synopsis = "Executes dialplan application, conditionally";
static char *execif_descrip =
-"Usage: ExecIF (<expr>?<app>(<data>):<app2>(<data2>))\n"
+" ExecIF (<expr>?<app>(<data>):<app2>(<data2>))\n"
"If <expr> is true, execute and return the result of <app>(<data>).\n"
"If <expr> is true, but <app> is not found, then the application\n"
"will return a non-zero value.\n";