diff options
author | Michael Snyder <msnyder@specifix.com> | 2002-04-12 22:44:18 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2002-04-12 22:44:18 +0000 |
commit | ae21f9d49cff96e0ee61e05606969c18a60e9d6d (patch) | |
tree | fc8e4aa0f9226658fea998734c79570c55dd6b4e /gdb/cli/cli-decode.c | |
parent | 707c1559747c271c1f1d67c5192b5efc3a402ae4 (diff) | |
download | gdb-ae21f9d49cff96e0ee61e05606969c18a60e9d6d.tar.gz |
2002-04-12 Michael Snyder <msnyder@redhat.com>
* cli/cli-decode.c (help_list): Allow long lines to wrap.
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r-- | gdb/cli/cli-decode.c | 22 |
1 files changed, 16 insertions, 6 deletions
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 |