mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Wrap help options when building help string
When building a help string, it's possible that the resulting options will go over 80 columns. This patch changes this code to add line wrapping where needed. This can most be seen by looking "help bt" and in particular the "-frame-info" help text.
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
#include "gdbsupport/intrusive_list.h"
|
||||
#include "gdbsupport/buildargv.h"
|
||||
|
||||
/* The allowed length of a line in a documentation string. */
|
||||
constexpr int cli_help_line_length = 80;
|
||||
|
||||
/* Not a set/show command. Note that some commands which begin with
|
||||
"set" or "show" might be in this category, if their syntax does
|
||||
not fall into one of the following categories. */
|
||||
|
||||
Reference in New Issue
Block a user