Cristian Ionescu-Idbohrn writes:

force enough space padding so that applet names always end up on their own line
This commit is contained in:
Mike Frysinger 2006-02-07 00:58:11 +00:00
parent 0380166916
commit 27a74e8017

View File

@ -87,6 +87,13 @@ sub pod_for_usage {
split("\n", $usage->{example})) . "\n\n"
: "";
# Pad the name so that the applet name gets a line
# by itself in BusyBox.txt
my $spaces = 10 - length($name);
if ($spaces > 0) {
$name .= " " x $spaces;
}
return
"=item B<$name>".
"\n\n$name $trivial\n\n".