From: Michael Snyder Date: Fri, 12 Apr 2002 22:44:18 +0000 (+0000) Subject: 2002-04-12 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de74f71f00b20ea662706852565f3b2a3c7ef2a0;p=binutils-gdb.git 2002-04-12 Michael Snyder * cli/cli-decode.c (help_list): Allow long lines to wrap. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bca2712cd34..acbadb9d74b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -18,6 +18,8 @@ 2002-04-12 Michael Snyder + * cli/cli-decode.c (help_list): Allow long lines to wrap. + * symfile.c: Fix indentation, long lines. * source.c: White space fix-up. 2002-04-12 Andrew Cagney diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 87349ef9f5a..3f510ac87d1 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -673,14 +673,24 @@ help_list (struct cmd_list_element *list, char *cmdtype, help_cmd_list (list, class, cmdtype, (int) class >= 0, stream); if (class == all_classes) - fprintf_filtered (stream, "\n\ -Type \"help%s\" followed by a class name for a list of commands in that class.", - cmdtype1); + { + fprintf_filtered (stream, "\n\ +Type \"help%s\" followed by a class name for a list of commands in ", + cmdtype1); + wrap_here (""); + fprintf_filtered (stream, "that class."); + } - fprintf_filtered (stream, "\n\ -Type \"help%s\" followed by %scommand name for full documentation.\n\ -Command name abbreviations are allowed if unambiguous.\n", + fprintf_filtered (stream, "\nType \"help%s\" followed by %scommand name ", cmdtype1, cmdtype2); + wrap_here (""); + fputs_filtered ("for ", stream); + wrap_here (""); + fputs_filtered ("full ", stream); + wrap_here (""); + fputs_filtered ("documentation.\n", stream); + fputs_filtered ("Command name abbreviations are allowed if unambiguous.\n", + stream); } static void