svn commit: trunk/busybox/docs
vapier at busybox.net
vapier at busybox.net
Tue Feb 7 00:58:12 UTC 2006
Author: vapier
Date: 2006-02-06 16:58:11 -0800 (Mon, 06 Feb 2006)
New Revision: 13863
Log:
Cristian Ionescu-Idbohrn writes:
force enough space padding so that applet names always end up on their own line
Modified:
trunk/busybox/docs/autodocifier.pl
Changeset:
Modified: trunk/busybox/docs/autodocifier.pl
===================================================================
--- trunk/busybox/docs/autodocifier.pl 2006-02-07 00:51:07 UTC (rev 13862)
+++ trunk/busybox/docs/autodocifier.pl 2006-02-07 00:58:11 UTC (rev 13863)
@@ -87,6 +87,13 @@
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".
More information about the busybox-cvs
mailing list