This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Questions about gdb and gettext
- From: Tom Tromey <tromey at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Gdb List <gdb at sources dot redhat dot com>
- Date: 23 Jun 2002 23:05:50 -0600
- Subject: Re: Questions about gdb and gettext
- References: <87bsa1pvtv.fsf@fleche.redhat.com> <3D163E9A.1000106@cygnus.com>
- Reply-to: tromey at redhat dot com
>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> 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