From: Luigi Rizzo Date: Tue, 28 Nov 2006 09:43:44 +0000 (+0000) Subject: More informative message on invalid commands. X-Git-Tag: 1.6.0-beta1~3^2~3852 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c570d9ba054222426cd3d488bbdf8f6977a243f;p=thirdparty%2Fasterisk.git More informative message on invalid commands. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48079 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index 5a852bfbec..6ffa290d59 100644 --- a/main/manager.c +++ b/main/manager.c @@ -2000,7 +2000,7 @@ static int process_message(struct mansession *s, struct message *m) } } if (!tmp) - astman_send_error(s, m, "Invalid/unknown command"); + astman_send_error(s, m, "Invalid/unknown command. Use Action: ListCommands to show available commands."); if (ret) return ret; /* Once done with our message, deliver any pending events */