From 27a74e8017ff5d21d728fe41ef4bf5083a0ad5c8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger 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 --- docs/autodocifier.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/autodocifier.pl b/docs/autodocifier.pl index 3a29512..fa8c4c0 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.1