]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: restore "REPORTING BUGS" section to generated man pages
authorJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 18:16:10 +0000 (19:16 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 27 Jan 2009 18:17:14 +0000 (19:17 +0100)
* man/help2man ($PAT_BUGS): Update regexp to match the newer
"Report PROG bugs ..." --help output, as well as "Report bugs...".
Reported by Eric Blake.

man/help2man

index 66d715f0eb3e27aa57d02b136b5e8aef3bfc26e5..d680425ac39e5a6b95fcdecb3d37932ec1c16ee1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 # Generate a short man page from --help and --version output.
-# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008
+# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2008, 2009
 # Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
@@ -368,7 +368,7 @@ s/^\./\x80/mg;
 s/^'/\x81/mg;
 s/\\/\x82/g;
 
-my $PAT_BUGS           = _('Report +bugs|Email +bug +reports +to');
+my $PAT_BUGS           = _('Report +(?:\w+ +)?bugs|Email +bug +reports +to');
 my $PAT_AUTHOR         = _('Written +by');
 my $PAT_OPTIONS                = _('Options');
 my $PAT_EXAMPLES       = _('Examples');