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:
4fcefb9
)
space out supported applet names so the config list doesnt wrap on an 80col terminal
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 7 Feb 2006 00:51:07 +0000
(
00:51
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 7 Feb 2006 00:51:07 +0000
(
00:51
-0000)
docs/autodocifier.pl
patch
|
blob
|
history
diff --git
a/docs/autodocifier.pl
b/docs/autodocifier.pl
index 95c9f410f11f8aa83e50d739f149a2d081330057..3a29512373ab6e82435d30abf3641ceacc726a1c 100755
(executable)
--- a/
docs/autodocifier.pl
+++ b/
docs/autodocifier.pl
@@
-155,14
+155,15
@@
foreach (@ARGV) {
my $generator = \&pod_for_usage;
my @names = sort keys %docs;
-
print
"\t[, [[, ";
+
my $line =
"\t[, [[, ";
for (my $i = 0; $i < $#names; $i++) {
- if (($i + 2) % 8 == 0) {
- print "\n\t";
+ if (length ($line.$names[$i]) >= 65) {
+ print "$line\n\t";
+ $line = "";
}
-
print
"$names[$i], ";
+
$line .=
"$names[$i], ";
}
-print $names[-1];
+print $
line . $
names[-1];
print "\n\n=head1 COMMAND DESCRIPTIONS\n";
print "\n=over 4\n\n";