config_options.c: Fix truncation of option descriptions.

This increases the format width of option descriptions
to avoid needless truncation for longer descriptions.

Resolves: #428
(cherry picked from commit fcf36a8766)
This commit is contained in:
Naveen Albert 2023-11-09 10:58:41 -05:00 committed by Asterisk Development Team
parent 776c2ca6d7
commit 8a73bac226
1 changed files with 1 additions and 1 deletions

View 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));
}
}