[PATCH] doc: sphinx: refresh parse-headers.pl from Linux

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Apr 20 17:38:31 CEST 2020


Copy parse-headers.pl from Linux kernel tree:

* fix the parameter description %s/--man/--usage/
* fix a documentation reference

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 doc/sphinx/parse-headers.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/sphinx/parse-headers.pl b/doc/sphinx/parse-headers.pl
index d4f38262eb..c518050ffc 100755
--- a/doc/sphinx/parse-headers.pl
+++ b/doc/sphinx/parse-headers.pl
@@ -344,7 +344,7 @@ enums and defines and create cross-references to a Sphinx book.

 B<parse_headers.pl> [<options>] <C_FILE> <OUT_FILE> [<EXCEPTIONS_FILE>]

-Where <options> can be: --debug, --help or --man.
+Where <options> can be: --debug, --help or --usage.

 =head1 OPTIONS

@@ -382,7 +382,7 @@ ioctl.
 The EXCEPTIONS_FILE contain two rules to allow ignoring a symbol or
 to replace the default references by a custom one.

-Please read doc/doc-guide/parse-headers.rst at the Kernel's
+Please read Documentation/doc-guide/parse-headers.rst at the Kernel's
 tree for more details.

 =head1 BUGS
--
2.25.1



More information about the U-Boot mailing list