]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: sync help2man to latest version
authorPádraig Brady <P@draigBrady.com>
Thu, 16 Sep 2021 14:03:23 +0000 (15:03 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 16 Sep 2021 14:03:23 +0000 (15:03 +0100)
* man/help2man: sync to changes from version 1.48.5.
Note this doesn't materially change the generated man pages.

man/help2man

index 168a6b90a0d3b6043a09cfbb25224b7c9e9a2823..99a1c9263d329deb871b930c507eba472244e91b 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Generate a short man page from --help and --version output.
 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009,
-# 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020 Free Software
+# 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020, 2021 Free Software
 # Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@ use Text::Tabs qw(expand);
 use POSIX qw(strftime setlocale LC_ALL);
 
 my $this_program = 'help2man';
-my $this_version = '1.47.16';
+my $this_version = '1.48.5';
 
 sub _ { $_[0] }
 sub configure_locale
@@ -53,8 +53,9 @@ sub fix_italic_spacing;
 my $version_info = enc_user sprintf _(<<'EOT'), $this_program, $this_version;
 GNU %s %s
 
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009, 2010,
-2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020 Free Software Foundation, Inc.
+Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2009,
+2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2020, 2021 Free Software
+Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
@@ -249,8 +250,8 @@ my $help_text   = get_option_value $ARGV[0], $help_option;
 $version_text ||= get_option_value $ARGV[0], $version_option;
 
 # By default the generated manual pages will include the current date.  This may
-# however be overriden by setting the environment variable $SOURCE_DATE_EPOCH to
-# an integer value of the seconds since the UNIX epoch.  This is primarily
+# however be overridden by setting the environment variable $SOURCE_DATE_EPOCH
+# to an integer value of the seconds since the UNIX epoch.  This is primarily
 # intended to support reproducible builds (wiki.debian.org/ReproducibleBuilds)
 # and will additionally ensure that the output date string is UTC.
 my $epoch_secs = time;