aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-utils.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-06-03 09:37:27 -0600
committerTom Tromey <tromey@adacore.com>2024-11-11 07:44:27 -0700
commitfc55e99ad740b285f655c3a2a6035850bf2e3220 (patch)
tree2e6cddce9601123dc74ba11c7f35fd9e66520b10 /gdb/cli/cli-utils.c
parentbf0a21777530ff364a7f30a79e1fd3616e5a6c7e (diff)
downloadbinutils-fc55e99ad740b285f655c3a2a6035850bf2e3220.zip
binutils-fc55e99ad740b285f655c3a2a6035850bf2e3220.tar.gz
binutils-fc55e99ad740b285f655c3a2a6035850bf2e3220.tar.bz2
Wrap help strings at 80 columns
This patch ensures that all ordinary help strings are wrapped at 80 columns. For the most part this consists of changing code like this (note the embedded \n and the trailing backslash without a newline): -Manage the space-separated list of debuginfod server URLs that GDB will query \ -when missing debuginfo, executables or source files.\nThe default value is \ -copied from the DEBUGINFOD_URLS environment variable."), ... to end each line with \n\, like: +Manage the space-separated list of debuginfod server URLs that GDB will\n\ +query when missing debuginfo, executables or source files.\n\ +The default value is copied from the DEBUGINFOD_URLS environment variable."), Approved-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/cli/cli-utils.c')
-rw-r--r--gdb/cli/cli-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c
index 45b3084..152fee9 100644
--- a/gdb/cli/cli-utils.c
+++ b/gdb/cli/cli-utils.c
@@ -197,10 +197,10 @@ info_print_args_help (const char *prefix,
bool document_n_flag)
{
return xstrprintf (_("\
-%sIf NAMEREGEXP is provided, only prints the %s whose name\n\
-matches NAMEREGEXP.\n\
-If -t TYPEREGEXP is provided, only prints the %s whose type\n\
-matches TYPEREGEXP. Note that the matching is done with the type\n\
+%sIf NAMEREGEXP is provided, only prints the %s\n\
+whose name matches NAMEREGEXP.\n\
+If -t TYPEREGEXP is provided, only prints the %s\n\
+whose type matches TYPEREGEXP. Note that the matching is done with the type\n\
printed by the 'whatis' command.\n\
By default, the command might produce headers and/or messages indicating\n\
why no %s can be printed.\n\