aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdocs/autodocifier.pl16
-rw-r--r--docs/busybox_header.pod28
2 files changed, 15 insertions, 29 deletions
diff --git a/docs/autodocifier.pl b/docs/autodocifier.pl
index eee67cf09..a122b0b06 100755
--- a/docs/autodocifier.pl
+++ b/docs/autodocifier.pl
@@ -150,7 +150,21 @@ foreach (@ARGV) {
150# generate structured documentation 150# generate structured documentation
151 151
152my $generator = \&pod_for_usage; 152my $generator = \&pod_for_usage;
153foreach my $applet (sort keys %docs) { 153
154my @names = sort keys %docs;
155print "\t[, [[, ";
156for (my $i = 0; $i < $#names; $i++) {
157 if (($i + 2) % 8 == 0) {
158 print "\n\t";
159 }
160 print "$names[$i], ";
161}
162print $names[-1];
163
164print "\n\n=head1 COMMAND DESCRIPTIONS\n";
165print "\n=over 4\n\n";
166
167foreach my $applet (@names) {
154 print $generator->($applet, $docs{$applet}); 168 print $generator->($applet, $docs{$applet});
155} 169}
156 170
diff --git a/docs/busybox_header.pod b/docs/busybox_header.pod
index 7a5b0f716..ab1ebd501 100644
--- a/docs/busybox_header.pod
+++ b/docs/busybox_header.pod
@@ -80,31 +80,3 @@ been enabled, more detailed usage information will also be available.
80 80
81Currently defined functions include: 81Currently defined functions include:
82 82
83 addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, bunzip2,
84 busybox, bzcat, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp,
85 cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser,
86 devfsd, df, dirname, dmesg, dos2unix, dpkg, dpkg-deb, du, dumpkmap,
87 dumpleases, echo, egrep, env, expr, false, fbset, fdflush, fdformat, fdisk,
88 fgrep, find, fold, free, freeramdisk, fsck.minix, ftpget, ftpput, getopt,
89 getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname,
90 httpd, hush, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod,
91 install, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink, iproute, iptunnel, kill,
92 killall, klogd, lash, last, length, linuxrc, ln, loadfont, loadkmap,
93 logger, login, logname, logread, losetup, ls, lsmod, makedevs, md5sum,
94 mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more,
95 mount, msh, mt, mv, nameif, nc, netstat, nslookup, od, openvt, passwd,
96 patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printf, ps,
97 pwd, rdate, readlink, realpath, reboot, renice, reset, rm, rmdir, rmmod,
98 route, rpm, rpm2cpio, run-parts, rx, sed, seq, setkeycodes, sha1sum, sleep,
99 sort, start-stop-daemon, strings, stty, su, sulogin, swapoff, swapon, sync,
100 sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top,
101 touch, tr, traceroute, true, tty, udhcpc, udhcpd, umount, uname,
102 uncompress, uniq, unix2dos, unzip, uptime, usleep, uudecode, uuencode,
103 vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs,
104 yes, zcat
105
106=head1 COMMAND DESCRIPTIONS
107
108=over 4
109
110