- generated middle section of busybox.pod w/ autodocifier.pl
- updated autodocifier.pl to use tab to indent example section
This commit is contained in:
parent
a4edd0e946
commit
e708cb5f9a
@ -69,13 +69,12 @@ sub pod_for_usage {
|
|||||||
|
|
||||||
# prepare example if one exists
|
# prepare example if one exists
|
||||||
my $example = (defined $usage->{example})
|
my $example = (defined $usage->{example})
|
||||||
? $usage->{example}
|
?
|
||||||
: "";
|
|
||||||
$example =
|
|
||||||
"Example:\n\n" .
|
"Example:\n\n" .
|
||||||
join ("\n",
|
join ("\n",
|
||||||
map { " $_" }
|
map { "\t$_" }
|
||||||
split("\n", $example)) . "\n\n";
|
split("\n", $usage->{example})) . "\n\n"
|
||||||
|
: "";
|
||||||
|
|
||||||
return
|
return
|
||||||
"=item I<$name>".
|
"=item I<$name>".
|
||||||
@ -227,4 +226,4 @@ John BEPPU <beppu@lineo.com>
|
|||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
# $Id: autodocifier.pl,v 1.16 2001/03/15 20:49:25 beppu Exp $
|
# $Id: autodocifier.pl,v 1.17 2001/03/15 21:08:01 beppu Exp $
|
||||||
|
646
docs/busybox.pod
646
docs/busybox.pod
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user