summaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-07-30 17:55:47 +0000
committerAndrew Cagney <cagney@redhat.com>2004-07-30 17:55:47 +0000
commit5cc1134f951d38efe3063b63e0473ef255312805 (patch)
tree8bbc7bce0449a3bd53cd1700f68482720e3fc948 /gdb/complaints.c
parent7150b27b6e3e827821a20bad9537bcea3fbc1225 (diff)
downloadgdb-5cc1134f951d38efe3063b63e0473ef255312805.tar.gz
2004-07-30 Andrew Cagney <cagney@gnu.org>
* complaints.c (_initialize_complaints): Pass NULL to add_setshow_zinteger_cmd for help_doc. * cli/cli-decode.c (add_setshow_cmd_full): Handle a NULL help_doc.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 378ad703201..8630fde85f7 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -313,8 +313,7 @@ _initialize_complaints (void)
{
add_setshow_zinteger_cmd ("complaints", class_support, &stop_whining, "\
Set max number of complaints about incorrect symbols.", "\
-Show max number of complaints about incorrect symbols.", "\
-Set to zero to disable incorrect symbol complaints.", "\
+Show max number of complaints about incorrect symbols.", NULL, "\
Max number of complaints about incorrect symbols is %s.",
NULL, NULL,
&setlist, &showlist);