From 2fbee63cc9088cfc3010cefe61c831016eaea2d5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 Jan 2009 19:16:10 +0100 Subject: 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. --- man/help2man | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man') 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'); -- cgit v1.2.3-70-g09d2