Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
authorRussell Bryant <russell@russellbryant.com>
Mon, 2 Jul 2007 20:45:53 +0000 (20:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 2 Jul 2007 20:45:53 +0000 (20:45 +0000)
include a bunch of empty entries.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72939 65c4cc65-6c06-0410-ace0-fbb531ad65f3

doc/ast_agi_commands.tex
res/res_agi.c

index a142657..5a63d3a 100644 (file)
@@ -580,1004 +580,3 @@ Waits for a digit to be pressed
 \end{verbatim}
 
 
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
index 1375511..dad82d4 100644 (file)
@@ -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))