2002-11-16 20:49:22

by Adrian Bunk

[permalink] [raw]
Subject: 2.5: Help for choice questions doesn't work

In 2.5.47 the help for choice questions (e.g. "Processor family" or
"High Memory Support" in the "Processor type and features" menu) doesn't
work in "make menuconfig", there's always a "There is no help available
for this kernel option." displayed.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed


2002-11-16 21:00:34

by Brian Jackson

[permalink] [raw]
Subject: Re: 2.5: Help for choice questions doesn't work

I noticed that too. It works on the top level choice(before you get into the
selections). I was just thinking about suggesting to Roman that we could
either show the same help all the way down in those multiple choice cases,
or provide a link back up to the main help. Where it would actually show the
text, but wouldn't repeat the same text 15 times(once for each choice). That
functionality could probably come in handy in other cases too. I just don't
know how hard that would be to implement.

--Brian Jackson

Adrian Bunk writes:

> In 2.5.47 the help for choice questions (e.g. "Processor family" or
> "High Memory Support" in the "Processor type and features" menu) doesn't
> work in "make menuconfig", there's always a "There is no help available
> for this kernel option." displayed.
>
> cu
> Adrian
>
> --
>
> "Is there not promise of rain?" Ling Tan asked suddenly out
> of the darkness. There had been need of rain for many days.
> "Only a promise," Lao Er said.
> Pearl S. Buck - Dragon Seed
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2002-11-16 21:05:55

by Roman Zippel

[permalink] [raw]
Subject: Re: 2.5: Help for choice questions doesn't work

Hi,

On Sat, 16 Nov 2002, Adrian Bunk wrote:

> In 2.5.47 the help for choice questions (e.g. "Processor family" or
> "High Memory Support" in the "Processor type and features" menu) doesn't
> work in "make menuconfig", there's always a "There is no help available
> for this kernel option." displayed.

Move the main help to the choice entry itself. All front ends expect the
help now there. E.g.

choice
prompt "Processor family"
default M686
---help---
This is the processor type of your CPU. This information is used for
optimizing purposes. In order to compile a kernel that can run on
all x86 CPU types (albeit not optimally fast), you can specify
"386" here.
...

The choice options can still have there own help entries, but only xconfig
makes use of it.
I didn't do this automatically, since most help text entries need to be
splitted somehow. I wanted to do this for a few common entries, but I
haven't found the time yet.

bye, Roman