mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-13 02:42:18 +02:00
* Makefile.maint (longopt_re): Relax the regexp, making square
brackets optional, so it matches the newly reported violations, too.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
2007-02-10 Jim Meyering <meyering@rho.meyering.net>
|
||||
2007-02-10 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* Makefile.maint (longopt_re): Relax the regexp, making square
|
||||
brackets optional, so it matches the newly reported violations, too.
|
||||
|
||||
* src/csplit.c (usage): Use two spaces (not one) to separate
|
||||
each option string from its description, so help2man formats
|
||||
|
||||
@@ -301,7 +301,7 @@ sc_trailing_blank:
|
||||
# Match lines like the following, but where there is only one space
|
||||
# between the options and the description:
|
||||
# -D, --all-repeated[=delimit-method] print all duplicate lines\n
|
||||
longopt_re = --[a-z][0-9A-Za-z-]*(\[=[0-9A-Za-z-]*\])?
|
||||
longopt_re = --[a-z][0-9A-Za-z-]*(\[?=[0-9A-Za-z-]*\]?)?
|
||||
sc_two_space_separator_in_usage:
|
||||
@grep -nE '^ *(-[A-Za-z],)? $(longopt_re) [^ ].*\\$$' \
|
||||
$$($(CVS_LIST_EXCEPT)) && \
|
||||
|
||||
Reference in New Issue
Block a user