]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Wrap help options when building help string
authorTom Tromey <tromey@adacore.com>
Mon, 3 Jun 2024 16:06:51 +0000 (10:06 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 11 Nov 2024 14:45:02 +0000 (07:45 -0700)
commita03d5b9bf375452fadb34b27638be3951c3f482e
treebec0f0e0348688305bab89b185b89e1c54ebb7a0
parentada6f4701b896924ef8026c2b9a5d36c5be36643
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.
gdb/cli/cli-decode.h
gdb/cli/cli-option.c