summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-01-07 10:06:16 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-01-07 10:06:16 +0100
commit2e6f83f051edd36f2a87fe6c80e2817fcadbbc8c (patch)
tree0189f3f3c83cec312b76f90831ef52ddca0b39e1
parent874272982726797764333c336f06ccff44a660f7 (diff)
downloadcurl-2e6f83f051edd36f2a87fe6c80e2817fcadbbc8c.tar.gz
scripts/copyright.pl: support many provided file names on the cmdline
-rwxr-xr-xscripts/copyright.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/copyright.pl b/scripts/copyright.pl
index 9f37d1f2d..089f04a9e 100755
--- a/scripts/copyright.pl
+++ b/scripts/copyright.pl
@@ -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`;