From: Daniel Stenberg Date: Sat, 17 Dec 2016 17:14:01 +0000 (+0100) Subject: cmdline-opts/gen.pl: trim off trailing spaces X-Git-Tag: curl-7_52_0~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58206f0ef21df5f20b4932f2fdce181abd579cfe;p=thirdparty%2Fcurl.git cmdline-opts/gen.pl: trim off trailing spaces --- diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index 6fe24be1e7..c8b129360b 100755 --- a/docs/cmdline-opts/gen.pl +++ b/docs/cmdline-opts/gen.pl @@ -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; }