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
commitbe7d7357efe8cad63c8920b7fa69f6d2324d6fa5 (patch)
treede2b38ec156348dd3c5cf05856c4585c5c67a8eb /gdb/complaints.c
parent185d09adc379a495103643c594a28d5f80110978 (diff)
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 378ad70320..8630fde85f 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);