mirror of
https://github.com/curl/curl.git
synced 2026-07-27 20:53:18 +03:00
nroff2cd: enable warnings, fix them
This commit is contained in:
parent
9a5c861b41
commit
7b20671570
1 changed files with 6 additions and 1 deletions
|
|
@ -36,6 +36,9 @@ for code.
|
|||
=end comment
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $nroff2cd = "0.1"; # to keep check
|
||||
|
||||
sub single {
|
||||
|
|
@ -189,4 +192,6 @@ HEAD
|
|||
return !$header;
|
||||
}
|
||||
|
||||
exit single($ARGV[0]);
|
||||
if(@ARGV) {
|
||||
exit single($ARGV[0]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue