1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

Pass a hash to pod2usage. That's the recommended way.

This commit is contained in:
Kalle Olavi Niemitalo 2006-01-13 23:36:18 +02:00 committed by Kalle Olavi Niemitalo
parent c8c4d087bf
commit 78ea4c8425

View File

@ -56,7 +56,7 @@ sub show_version
-exitval => 0});
}
GetOptions("help" => sub { pod2usage(-verbose => 1, -exitval => 0) },
GetOptions("help" => sub { pod2usage({-verbose => 1, -exitval => 0}) },
"version" => \&show_version)
or exit 2;
print(STDERR "$0: missing file operand\n"), exit 2 unless @ARGV;