mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
cmdline-opts/gen.pl: trim off trailing spaces
This commit is contained in:
parent
c47b1eced7
commit
58206f0ef2
@ -210,8 +210,9 @@ sub single {
|
||||
}
|
||||
if($foot[0]) {
|
||||
print "\n";
|
||||
print @foot;
|
||||
print "\n";
|
||||
my $f = join("", @foot);
|
||||
$f =~ s/ +\z//; # remove trailing space
|
||||
print "$f\n";
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user