More informative message on invalid commands.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Luigi Rizzo
2006-11-28 09:43:44 +00:00
parent a8e9428317
commit 1c570d9ba0

View File

@@ -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 */