1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

cmdline-opts/gen.pl: trim off trailing spaces

This commit is contained in:
Daniel Stenberg 2016-12-17 18:14:01 +01:00
parent c47b1eced7
commit 58206f0ef2

View File

@ -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;
}