[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220104015946.529524-10-tomasz.warniello@gmail.com>
Date: Tue, 4 Jan 2022 02:59:40 +0100
From: Tomasz Warniełło
<tomasz.warniello@...il.com>
To: corbet@....net
Cc: Tomasz Warniełło
<tomasz.warniello@...il.com>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 09/15] scripts: kernel-doc: Translate the "Other parameters" subsection of OPTIONS
Notes:
- The -help token is added.
- The entries are sorted alphbetically.
* Transform documentation into POD (9/15)
See step 1 for the series details.
Signed-off-by: Tomasz Warniełło <tomasz.warniello@...il.com>
---
scripts/kernel-doc | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index c46d4b9afef2..33e7923683a0 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -83,11 +83,6 @@ sub usage {
my $message = <<"EOF";
Usage: $0 [OPTION ...] FILE ...
-Other parameters:
- -v Verbose output, more warnings and other information.
- -h Print this help.
- -Werror Treat warnings as errors.
-
EOF
print $message;
exit 1;
@@ -2628,4 +2623,22 @@ Enable output of #define LINENO lines.
=back
+=head2 Other parameters:
+
+=over 8
+
+=item -h, -help
+
+Print this help.
+
+=item -v
+
+Verbose output, more warnings and other information.
+
+=item -Werror
+
+Treat warnings as errors.
+
+=back
+
=cut
--
2.30.2
Powered by blists - more mailing lists