* language.c (_initialize_language): Fix type check and range
authorJohn Gilmore <gnu@cygnus>
Fri, 20 Sep 1991 18:18:13 +0000 (18:18 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 20 Sep 1991 18:18:13 +0000 (18:18 +0000)
check documentation strings.

gdb/ChangeLog
gdb/language.c

index cf4b59f6a386518302b7517e288349fcbc147057..066fbfb8ab780ba2aa8346d5bd77f8c5ae33d3c2 100644 (file)
@@ -1,5 +1,7 @@
 Fri Sep 20 02:28:15 1991  John Gilmore  (gnu at cygnus.com)
 
+       * language.c (_initialize_language):  Fix type check and range
+       check documentation strings.
        * utils.c (!HAVE_VPRINTF):  Define vfprintf as a function, so
        language.c can use it.  (Though language.c should really not be
        handling warnings/errors the way it does, FIXME.)
index ced2f5a48a2ebf221fdb3d1a011b287a75566bac..bcb00c7989830a4a3388e9f45ae35e781ad9a8af 100644 (file)
@@ -1064,13 +1064,13 @@ _initialize_language()
 
    add_prefix_cmd ("check", no_class, show_check,
                   "Show the status of the type/range checker",
-                  &showchecklist, "set check ", 0, &showlist);
+                  &showchecklist, "show check ", 0, &showlist);
    add_alias_cmd ("c", "check", no_class, 1, &showlist);
    add_alias_cmd ("ch", "check", no_class, 1, &showlist);
 
    set = add_set_cmd ("type", class_support, var_string_noescape,
                      (char *)&type,
-                     "Set type checking on/warn/off/auto.",
+                     "Set type checking.  (on/warn/off/auto)",
                      &setchecklist);
    show = add_show_from_set (set, &showchecklist);
    set->function = set_type_command;
@@ -1078,7 +1078,7 @@ _initialize_language()
 
    set = add_set_cmd ("range", class_support, var_string_noescape,
                      (char *)&range,
-                     "Set range checking on/warn/off/auto.",
+                     "Set range checking.  (on/warn/off/auto)",
                      &setchecklist);
    show = add_show_from_set (set, &showchecklist);
    set->function = set_range_command;