summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-01-27 19:16:10 +0100
committerJim Meyering <meyering@redhat.com>2009-01-27 19:17:14 +0100
commit2fbee63cc9088cfc3010cefe61c831016eaea2d5 (patch)
tree87c9a06d8c30a793370f130ed0a2d8faa7b70c61 /man
parentb27275c668d79ba460b6c2764da5e4d007d01a71 (diff)
downloadcoreutils-2fbee63cc9088cfc3010cefe61c831016eaea2d5.tar.xz
doc: restore "REPORTING BUGS" section to generated man pages
* man/help2man ($PAT_BUGS): Update regexp to match the newer "Report PROG bugs ..." --help output, as well as "Report bugs...". Reported by Eric Blake.
Diffstat (limited to 'man')
-rwxr-xr-xman/help2man4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/help2man b/man/help2man
index 66d715f0e..d680425ac 100755
--- a/man/help2man
+++ b/man/help2man
@@ -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');