[asterisk-dev] Re: [svn-commits] oej: trunk r54464 - in /trunk: include/asterisk/ main/

Olle E Johansson olle at voop.com
Thu Feb 15 04:28:27 MST 2007


>>   trunk/main/manager.c
>
>> @@ -1545,6 +1605,10 @@
>>   	{ { "core", "show", "profile", NULL },
>>  	handle_show_profile, "Display profiling info",
>> +	NULL },
>> +
>> +	{ { "core", "show", "settings", NULL },
>> +	handle_show_settings, "Show some core settings",
>>  	NULL },
>
> Just as a friendly reminder, we have a new way of creating CLI  
> commands that is a lot nicer than the old method.  We really should  
> be not adding new CLI commands that are in trunk only using the old  
> method.
>
> Search the tree for uses of "NEW_CLI" for examples on the new  
> method of defining CLI commands.

Copy and paste is quick, but usually doesn't involve reading docs :-)

Will check.

/O


More information about the asterisk-dev mailing list