summaryrefslogtreecommitdiff
path: root/help2man.PL
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2020-04-27 15:29:54 +1000
committerBrendan O'Dea <bod@debian.org>2020-04-27 15:29:54 +1000
commit552b3593669c543db94fda1593e0f6e0c4761ec6 (patch)
treeecf46f78de9c6bb0fbc263b3d3a943304b0c72ad /help2man.PL
parentf01e520950614b4d57adb09e986f411bae5c1444 (diff)
downloadhelp2man-552b3593669c543db94fda1593e0f6e0c4761ec6.tar.gz
Use package name and version as the default for --source
Diffstat (limited to 'help2man.PL')
-rwxr-xr-xhelp2man.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/help2man.PL b/help2man.PL
index c55e7de..1cbd08a 100755
--- a/help2man.PL
+++ b/help2man.PL
@@ -457,7 +457,7 @@ for ($replace{_('NAME')} || ($include{_('NAME')} ||= ''))
my $PROGRAM = uc $program;
# Set default page head/footers
-$source ||= "$program $version";
+$source ||= "$package $version";
unless ($manual)
{
for ($section)