mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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 98186cba63
)
This commit is contained in:
committed by
Asterisk Development Team
parent
1c02e51f46
commit
0b8535d143
@@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user