diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-12-17 18:14:01 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-12-17 18:14:01 +0100 |
commit | 58206f0ef21df5f20b4932f2fdce181abd579cfe (patch) | |
tree | e15e3a51150383852de438ee4ea4edb77e762750 /docs/cmdline-opts | |
parent | c47b1eced74a6c8b5cd27b2779f7fd7dbbb9d31a (diff) |
cmdline-opts/gen.pl: trim off trailing spaces
Diffstat (limited to 'docs/cmdline-opts')
-rwxr-xr-x | docs/cmdline-opts/gen.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl index 6fe24be1e..c8b129360 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; } |