config_options: Display the see-also information for CLI config option help
[asterisk/asterisk.git] / main / config_options.c
index 2733d5c..ec45abb 100644 (file)
@@ -1200,6 +1200,11 @@ static void cli_show_module_options(struct ast_cli_args *a)
                                ast_cli(a->fd, "%s\n\n", ast_xmldoc_printable(ast_str_buffer(tmp->description), 1));
                        }
 
+                       if (ast_str_strlen(tmp->seealso)) {
+                               ast_cli(a->fd, "See Also:\n");
+                               ast_cli(a->fd, "%s\n\n", ast_xmldoc_printable(ast_str_buffer(tmp->seealso), 1));
+                       }
+
                        match = 1;
                }
        }