diff options
-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; } |