This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Update help text for commands implemented in Python
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 06 Oct 2018 22:02:26 -0600
- Subject: Re: [PATCH] Update help text for commands implemented in Python
- References: <20180918051014.25542-1-tom@tromey.com>
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> Philippe pointed out that the "enable frame-filter" help text looked
Tom> funny.
Tom> While fixing this I noticed a few more problems in the help text of
Tom> commands written in Python:
Tom> * Trailing newlines
Tom> * Wrong style for metasyntactic variables
Tom> * Indentation of the text
Tom> * ... and finally, I thought the function usage lines didn't need
Tom> that extra newline -- someday I'd like to be able to write a
Tom> "usage" command that just greps for the Usage line, so ideally it
Tom> would be tighter than what was done here
Tom> This patch fixes all the problems I noticed.
I'm checking this in now.
Tom