kconfig: show '?' prompt even if no help text is available
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 6 Feb 2018 00:34:43 +0000 (09:34 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 8 Feb 2018 19:10:09 +0000 (04:10 +0900)
commit4f208f392103e8d5bcc7558dba69348b27d8ce42
tree829ca771d530086527ecb69abfe03d2c63200ba7
parentcb67ab2cd2b8abd9650292c986c79901e3073a59
kconfig: show '?' prompt even if no help text is available

'make config', 'make oldconfig', etc. always receive '?' as a valid
input and show useful information even if no help text is available.

------------------------>8------------------------
foo (FOO) [N/y] (NEW) ?

There is no help available for this option.
Symbol: FOO [=n]
Type  : bool
Prompt: foo
  Defined at Kconfig:1
------------------------>8------------------------

However, '?' is not shown in the prompt if its help text is missing.
Let's show '?' all the time so that the prompt and the behavior match.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
scripts/kconfig/conf.c