Fix formatting of functions (bug #4196, with mods)
authorMark Spencer <markster@digium.com>
Sun, 8 May 2005 17:10:58 +0000 (17:10 +0000)
committerMark Spencer <markster@digium.com>
Sun, 8 May 2005 17:10:58 +0000 (17:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5605 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx.c

diff --git a/pbx.c b/pbx.c
index b5571ac..3bbbe90 100755 (executable)
--- a/pbx.c
+++ b/pbx.c
@@ -1103,7 +1103,7 @@ static int handle_show_functions(int fd, int argc, char *argv[])
 
        ast_cli(fd, "Installed Custom Functions:\n--------------------------------------------------------------------------------\n");
        for (acf = acf_root ; acf; acf = acf->next) {
-               ast_cli(fd, "%s\t(%s)\t[%s]\n", acf->name, acf->synopsis, acf->syntax);
+               ast_cli(fd, "%-20.20s  %-35.35s  %s\n", acf->name, acf->syntax, acf->synopsis);
        }
        ast_cli(fd, "\n");
        return 0;