From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29292 invoked by alias); 24 Jun 2002 04:52:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29227 invoked from network); 24 Jun 2002 04:52:42 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 24 Jun 2002 04:52:42 -0000 Received: from fleche.redhat.com (ta0193.peakpeak.com [204.144.244.193] (may be forged)) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id WAA10366 for ; Sun, 23 Jun 2002 22:52:39 -0600 Received: by fleche.redhat.com (Postfix, from userid 1000) id A457D4F80B6; Sun, 23 Jun 2002 23:05:50 -0600 (MDT) To: Andrew Cagney Cc: Gdb List Subject: Re: Questions about gdb and gettext References: <87bsa1pvtv.fsf@fleche.redhat.com> <3D163E9A.1000106@cygnus.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Youth of today! Join me in a mass rally for traditional mental attitudes! Date: Sun, 23 Jun 2002 21:52:00 -0000 In-Reply-To: <3D163E9A.1000106@cygnus.com> Message-ID: <874rftnu4x.fsf@fleche.redhat.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00211.txt.bz2 >>>>> "Andrew" == Andrew Cagney writes: >> The idea here is to factor out the first sentence into separate >> `show' and `set' sentences, and then keep the rest of the help text >> the same. Andrew> Look at add_setshow_boolean_cmd(). The general direction is Andrew> for the generic commands to go away being replaced by more Andrew> specific, stronger typed, and i18n frendly commands. I looked at this. In this case it looks like `help show foo' will show a short doc string, while `help set foo' will show more text. Is this ok for all set/show commands? If so, then I agree that emulating this interface is fine. Tom