[asterisk-commits] rizzo: trunk r48079 - /trunk/main/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Nov 28 02:43:45 MST 2006


Author: rizzo
Date: Tue Nov 28 03:43:44 2006
New Revision: 48079

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48079
Log:
More informative message on invalid commands.


Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=48079&r1=48078&r2=48079
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Tue Nov 28 03:43:44 2006
@@ -2000,7 +2000,7 @@
 		}
 	}
 	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 */



More information about the asterisk-commits mailing list