]> git.baikalelectronics.ru Git - kernel.git/commitdiff
doc: don't use deprecated "---help---" markers in target docs
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Jun 2020 20:32:40 +0000 (13:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Jun 2020 20:32:40 +0000 (13:32 -0700)
I'm not convinced the script makes useful automaed help lines anyway,
but since we're trying to deprecate the use of "---help---" in Kconfig
files, let's fix the doc example code too.

See commit c6a64db8b9e1 ("treewide: replace '---help---' in Kconfig
files with 'help'")

Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/target/tcm_mod_builder.py

index 95d6e31f1e3a14ee2d3c180d99120109544ced38..1548d842049966c8ab75b5f7a083f36084d630d9 100755 (executable)
@@ -568,8 +568,8 @@ def tcm_mod_build_kconfig(fabric_mod_dir_var, fabric_mod_name):
        buf += "        tristate \"" + fabric_mod_name.upper() + " fabric module\"\n"
        buf += "        depends on TARGET_CORE && CONFIGFS_FS\n"
        buf += "        default n\n"
-       buf += "        ---help---\n"
-       buf += "        Say Y here to enable the " + fabric_mod_name.upper() + " fabric module\n"
+       buf += "        help\n"
+       buf += "          Say Y here to enable the " + fabric_mod_name.upper() + " fabric module\n"
 
        ret = p.write(buf)
        if ret: