This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA]: Apropos patch


"Daniel Berlin+list.gdb-patches" wrote:
> 
> It includes documentation, a test case (which uses a slightly weird
> regexp so it only finds one thing, and we make sure it only found one
> thing), and all the apropriate changelog entries.

You're going to hate this, but now that I see the example in the manual,
I'm wondering why "prefix:" and "command:" are on separate lines?
Why not just imitate the syntax that comes out of the help command -

	set symbol-reloading -- <help string>
	show symbol-reloading -- <help string>

Another advantage is that users can then cut-n-paste from the apropos
output more easily.

> Let me know if i can check it in, i believe it needs approval from
> Stan Shebs, and Fernando Nasser.

Just needs approval from one of us, not both!  I must confess to being
a bit mystified by the test though - why use "handle" as the match
string, and do I understand right, you're requiring that it be the
first output from apropos?

Stan

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]