diff --git a/apps/app_stack.c b/apps/app_stack.c
index 1311bad77c..92a0e0d74d 100644
--- a/apps/app_stack.c
+++ b/apps/app_stack.c
@@ -151,11 +151,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
- Read a variable varname hidden by
+ Read a variable varname hidden by
n levels of gosub stack frames. Note that ${LOCAL_PEEK(0,foo)}
- is the same as ${foo}, since the value of n peeks under 0 levels of
- stack frames; in other words, 0 is the current level. If n exceeds
- the available number of stack frames, then an empty string is returned.
+ is the same as foo, since the value of n
+ peeks under 0 levels of stack frames; in other words, 0 is the current level. If
+ n exceeds the available number of stack frames, then an empty
+ string is returned.
[Gosub]
@@ -523,8 +524,6 @@ static int peek_read(struct ast_channel *chan, const char *cmd, char *data, char
static struct ast_custom_function peek_function = {
.name = "LOCAL_PEEK",
- .synopsis = "Peeks at variables within the variable stack",
- .syntax = "LOCAL_PEEK(|)",
.read = peek_read,
};