lkml.org 
[lkml]   [2022]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] scripts: kernel-doc: transform documentation into POD
From
Date
On 17/12/2021 00:12, Jonathan Corbet wrote:
>> my $kernelversion;
>> @@ -468,7 +306,7 @@ while ($ARGV[0] =~ m/^--?(.*)/) {
>> } elsif ($cmd eq "Werror") {
>> $Werror = 1;
>> } elsif (($cmd eq "h") || ($cmd eq "help")) {
>> - usage();
>> + pod2usage(-exitval => 0, -verbose => 2);
>
> Why the strange indentation here? This file is far from pretty, but
> that makes it worse. (Other places too).

Sometimes beauty requires cooperation. You can help it in your pager.
If it's less, then try `-x 2`, `-x 4`, etc.

I will address the other topics in a new version. To be sent shortly.

Tx, TW

\
 
 \ /
  Last update: 2022-01-03 05:19    [W:0.122 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site