Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: kconfig: explicitly document missing prompt

There are a few lines in the kbuild-language.rst document which
obliquely reference the behavior of config options without prompts.
But there is nothing in the obvious location that explicitly calls
out that users cannot edit config options unless they have a prompt.

Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Stephen Brennan and committed by
Masahiro Yamada
d97eae80 87af9388

+5 -1
+5 -1
Documentation/kbuild/kconfig-language.rst
··· 70 70 71 71 Every menu entry can have at most one prompt, which is used to display 72 72 to the user. Optionally dependencies only for this prompt can be added 73 - with "if". 73 + with "if". If a prompt is not present, the config option is a non-visible 74 + symbol, meaning its value cannot be directly changed by the user (such as 75 + altering the value in ``.config``) and the option will not appear in any 76 + config menus. Its value can only be set via "default" and "select" (see 77 + below). 74 78 75 79 - default value: "default" <expr> ["if" <expr>] 76 80