mirror of
https://github.com/curl/curl.git
synced 2026-06-07 13:04:16 +03:00
verify-synopsis.pl: enable warnings, fix one
This commit is contained in:
parent
921219caa3
commit
e7cf939ab3
1 changed files with 4 additions and 1 deletions
5
.github/scripts/verify-synopsis.pl
vendored
5
.github/scripts/verify-synopsis.pl
vendored
|
|
@ -23,10 +23,13 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my @files = @ARGV;
|
||||
my $cfile = "test.c";
|
||||
|
||||
if($files[0] eq "-h") {
|
||||
if(!@files || $files[0] eq "-h") {
|
||||
print "Usage: verify-synopsis [man pages]\n";
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue