projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0380166
)
Cristian Ionescu-Idbohrn writes:
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 7 Feb 2006 00:58:11 +0000
(
00:58
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 7 Feb 2006 00:58:11 +0000
(
00:58
-0000)
force enough space padding so that applet names always end up on their own line
docs/autodocifier.pl
patch
|
blob
|
history
diff --git
a/docs/autodocifier.pl
b/docs/autodocifier.pl
index 3a29512373ab6e82435d30abf3641ceacc726a1c..fa8c4c08acdd532daaf11974a0d80654bf7351bd 100755
(executable)
--- a/
docs/autodocifier.pl
+++ b/
docs/autodocifier.pl
@@
-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".