mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1710,6 +1710,9 @@ static char *handle_agi_dump_commanddocs(struct ast_cli_entry *e, int cmd, struc
|
||||
char fullcmd[80];
|
||||
|
||||
command = &commands[i];
|
||||
if (!command->cmda[0])
|
||||
break;
|
||||
|
||||
ast_join(fullcmd, sizeof(fullcmd), command->cmda);
|
||||
|
||||
if (command_name && strcasecmp(fullcmd, command_name))
|
||||
|
||||
Reference in New Issue
Block a user