diff options
author | Mark Michelson <mmichelson@digium.com> | 2007-11-06 19:04:45 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2007-11-06 19:04:45 +0000 |
commit | 5a4867543d268d68b9cfebcef6e02bb9e032173e (patch) | |
tree | 7700cf1ff2f8a29dd724b11a624ddc8f57a199b5 /apps/app_stack.c | |
parent | 8b917df39b2f10e3d9e59bad8d84a50eb4b23f13 (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_stack.c')
-rw-r--r-- | apps/app_stack.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/app_stack.c b/apps/app_stack.c index c4b1c8806..753048f37 100644 --- a/apps/app_stack.c +++ b/apps/app_stack.c @@ -55,20 +55,20 @@ static const char *return_synopsis = "Return from gosub routine"; static const char *pop_synopsis = "Remove one address from gosub stack"; static const char *gosub_descrip = -"Gosub([[context,]exten,]priority[(arg1[,...][,argN])])\n" -" Jumps to the label specified, saving the return address.\n"; +" Gosub([[context,]exten,]priority[(arg1[,...][,argN])]):\n" +"Jumps to the label specified, saving the return address.\n"; static const char *gosubif_descrip = -"GosubIf(condition?labeliftrue[(arg1[,...])][:labeliffalse[(arg1[,...])]])\n" -" If the condition is true, then jump to labeliftrue. If false, jumps to\n" +" GosubIf(condition?labeliftrue[(arg1[,...])][:labeliffalse[(arg1[,...])]]):\n" +"If the condition is true, then jump to labeliftrue. If false, jumps to\n" "labeliffalse, if specified. In either case, a jump saves the return point\n" "in the dialplan, to be returned to with a Return.\n"; static const char *return_descrip = -"Return([return-value])\n" -" Jumps to the last label on the stack, removing it. The return value, if\n" +" Return([return-value]):\n" +"Jumps to the last label on the stack, removing it. The return value, if\n" "any, is saved in the channel variable GOSUB_RETVAL.\n"; static const char *pop_descrip = -"StackPop()\n" -" Removes last label on the stack, discarding it.\n"; +" StackPop():\n" +"Removes last label on the stack, discarding it.\n"; static void gosub_free(void *data); |