From 2956e833213350758cdb8fb4e45c61d3f7cd2def Mon Sep 17 00:00:00 2001 From: vapier Date: Tue, 7 Feb 2006 00:58:11 +0000 Subject: Cristian Ionescu-Idbohrn writes: force enough space padding so that applet names always end up on their own line git-svn-id: svn://busybox.net/trunk/busybox@13863 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- docs/autodocifier.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/autodocifier.pl b/docs/autodocifier.pl index 3a2951237..fa8c4c08a 100755 --- 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". -- cgit v1.2.3-55-g6feb