aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/Makefile3
-rw-r--r--funcs/func_cut.c (renamed from apps/app_cut.c)6
2 files changed, 4 insertions, 5 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 841977b29..28ce6d8ef 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -24,8 +24,7 @@ APPS=app_adsiprog.so app_alarmreceiver.so app_authenticate.so app_cdr.so \
app_setcdruserfield.so app_settransfercapability.so app_softhangup.so \
app_stack.so app_system.so app_talkdetect.so app_test.so app_transfer.so \
app_userevent.so app_url.so app_verbose.so app_voicemail.so \
- app_waitforring.so app_waitforsilence.so app_while.so app_zapateller.so \
- app_cut.so
+ app_waitforring.so app_waitforsilence.so app_while.so app_zapateller.so
#
# Obsolete things...
diff --git a/apps/app_cut.c b/funcs/func_cut.c
index 6922fc313..f0702215e 100644
--- a/apps/app_cut.c
+++ b/funcs/func_cut.c
@@ -16,9 +16,9 @@
*/
/*! \file
- * \brief Cut application
+ * \brief CUT function
*
- * \ingroup applications
+ * \ingroup functions
*/
#include <stdio.h>
@@ -269,7 +269,7 @@ static char *acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char
ast_log(LOG_ERROR, "Out of memory\n");
break;
case ERROR_USAGE:
- ast_log(LOG_ERROR, "Usage: %s\n", cut_synopsis);
+ ast_log(LOG_ERROR, "Usage: CUT(<varname>,<char-delim>,<range-spec>)\n");
break;
case 0:
break;