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 a7f7f6248d97 ("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 95d6e31..1548d84 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: