]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
config_options.c: Fix truncation of option descriptions.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 9 Nov 2023 15:58:41 +0000 (10:58 -0500)
committerNaveen Albert <asterisk@phreaknet.org>
Tue, 12 Dec 2023 14:40:19 +0000 (14:40 +0000)
This increases the format width of option descriptions
to avoid needless truncation for longer descriptions.

Resolves: #428

main/config_options.c

index d258f607dc84f398b2b121c5a6a60cd40a6521db..9769fd3ae16c6f3354cb7609af89dfbad7aa8975 100644 (file)
@@ -1306,7 +1306,7 @@ static void cli_show_module_type(struct ast_cli_args *a)
        tmp = item;
        while ((tmp = AST_LIST_NEXT(tmp, next))) {
                if (!strcasecmp(tmp->type, "configOption") && !strcasecmp(tmp->ref, a->argv[4])) {
-                       ast_cli(a->fd, "%-25s -- %-65.65s\n", tmp->name,
+                       ast_cli(a->fd, "%-25s -- %-120.120s\n", tmp->name,
                                        ast_str_buffer(tmp->synopsis));
                }
        }