mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +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"
|
||||
: "";
|
||||
|
||||
# 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".
|
||||
|
Loading…
Reference in New Issue
Block a user