Re: Bug with multiple help messages, the last one is shown

From: Blaisorblade
Date: Tue Apr 05 2005 - 13:01:16 EST


Sorry for the late answer, Yahoo put your mail in its Spam folder, and I
didn't check until now.

On Tuesday 22 March 2005 21:00, Roman Zippel wrote:
> Hi,
>
> On Tue, 22 Mar 2005, Blaisorblade wrote:
> > I've verified multiple times that if we have a situation like this
> >
> > bool A
> > depends on TRUE
> > help
> > Bla bla1
> >
> > and
> >
> > bool A
> > depends on FALSE
> > help
> > Bla bla2
> >
> > even if the first option is the displayed one, the help text used is the
> > one for the second option (the absence of "prompt" is not relevant here)!
>
> Is this based on a real problem?
Yes, look at the multiple help texts in lib/Kconfig.debug in vanilla 2.6.11,
or, in the current bk tree, in lib/Kconfig.debug and arch/um/Kconfig for
MAGIC_SYSRQ. For UML we need different help texts, so I'd like this solved.

If you definitely don't want to fix this, we can use the old 2.4 trick of
having CONFIG_MAGIC_SYSRQ2, for instance, with the right help and defining
MAGIC_SYSRQ as equal to MAGIC_SYSRQ2.
> I know that there's currently one help
> text per symbol

> and the behaviour for multiple help texts is basically
> undefined.
Yes, it's what I saw (actually I guess and seem to have verified that the last
read text is used).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/