Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kernel-doc: Align quick help and the code

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.

Fixes: 56b0f453db74 ("kernel-doc: don't let V=1 change outcome")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231215150341.1996720-1-andriy.shevchenko@linux.intel.com

authored by

Andy Shevchenko and committed by
Jonathan Corbet
dcd39fa2 cfecf5d7

+2 -2
+2 -2
scripts/kernel-doc
··· 23 23 24 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 27 [ -man | 28 28 -rst [-sphinx-version VERSION] [-enable-lineno] | 29 29 -none ··· 328 328 $Werror = 1; 329 329 } elsif ($cmd eq "Wreturn") { 330 330 $Wreturn = 1; 331 - } elsif ($cmd eq "Wshort-desc") { 331 + } elsif ($cmd eq "Wshort-desc" or $cmd eq "Wshort-description") { 332 332 $Wshort_desc = 1; 333 333 } elsif ($cmd eq "Wcontents-before-sections") { 334 334 $Wcontents_before_sections = 1;