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:
parent
776c2ca6d7
commit
8a73bac226
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue