mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
Cristian Ionescu-Idbohrn writes:
force enough space padding so that applet names always end up on their own line
This commit is contained in:
parent
0380166916
commit
27a74e8017
@ -87,6 +87,13 @@ sub pod_for_usage {
|
|||||||
split("\n", $usage->{example})) . "\n\n"
|
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
|
return
|
||||||
"=item B<$name>".
|
"=item B<$name>".
|
||||||
"\n\n$name $trivial\n\n".
|
"\n\n$name $trivial\n\n".
|
||||||
|
Loading…
Reference in New Issue
Block a user