The update to the quick help mentions -Wshort-description, but code never supported for that. Align that with the code by allowing both: -Wshort-description and -Wshort-desc.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -23,7 +23,7 @@ kernel-doc - Print formatted kernel documentation to stdout · 22 unmodified lines | |||
| 23 | 23 | ||
| 24 | =head1 SYNOPSIS | 24 | =head1 SYNOPSIS |
| 25 | 25 | ||
| 26 | kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-description] [-Wcontents-before-sections] | 26 | kernel-doc [-h] [-v] [-Werror] [-Wall] [-Wreturn] [-Wshort-desc[ription]] [-Wcontents-before-sections] |
| 27 | [ -man | | 27 | [ -man | |
| 28 | -rst [-sphinx-version VERSION] [-enable-lineno] | | 28 | -rst [-sphinx-version VERSION] [-enable-lineno] | |
| 29 | -none | 29 | -none |
| @@ -328,7 +328,7 @@ while ($ARGV[0] =~ m/^--?(.*)/) { · 298 unmodified lines | |||
| 328 | $Werror = 1; | 328 | $Werror = 1; |
| 329 | } elsif ($cmd eq "Wreturn") { | 329 | } elsif ($cmd eq "Wreturn") { |
| 330 | $Wreturn = 1; | 330 | $Wreturn = 1; |
| 331 | } elsif ($cmd eq "Wshort-desc") { | 331 | } elsif ($cmd eq "Wshort-desc" or $cmd eq "Wshort-description") { |
| 332 | $Wshort_desc = 1; | 332 | $Wshort_desc = 1; |
| 333 | } elsif ($cmd eq "Wcontents-before-sections") { | 333 | } elsif ($cmd eq "Wcontents-before-sections") { |
| 334 | $Wcontents_before_sections = 1; | 334 | $Wcontents_before_sections = 1; |