2002-04-12 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 12 Apr 2002 22:44:18 +0000 (22:44 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 12 Apr 2002 22:44:18 +0000 (22:44 +0000)
* cli/cli-decode.c (help_list): Allow long lines to wrap.

gdb/ChangeLog
gdb/cli/cli-decode.c

index bca2712..acbadb9 100644 (file)
@@ -18,6 +18,8 @@
 
 2002-04-12  Michael Snyder  <msnyder@redhat.com>
 
+       * 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  <cagney@redhat.com>
index 87349ef..3f510ac 100644 (file)
@@ -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