scripts/copyright.pl: support many provided file names on the cmdline

This commit is contained in:
Daniel Stenberg 2022-01-07 10:06:16 +01:00
parent 8742729827
commit 2e6f83f051
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -160,7 +160,7 @@ if($ARGV[0] eq "-v") {
shift @ARGV;
}
if($ARGV[0]) {
push @all, $ARGV[0];
push @all, @ARGV;
}
else {
@all = `git ls-files`;