More documentation updates, and minor fixes to make things sync
up with the docs.
-Erik
diff --git a/busybox.c b/busybox.c
index a14711a..15d53eb 100644
--- a/busybox.c
+++ b/busybox.c
@@ -45,14 +45,14 @@
{"cat", cat_main, _BB_DIR_BIN},
#endif
#ifdef BB_CHMOD_CHOWN_CHGRP
+ {"chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN},
+#endif
+#ifdef BB_CHMOD_CHOWN_CHGRP
{"chmod", chmod_chown_chgrp_main, _BB_DIR_BIN},
#endif
#ifdef BB_CHMOD_CHOWN_CHGRP
{"chown", chmod_chown_chgrp_main, _BB_DIR_BIN},
#endif
-#ifdef BB_CHMOD_CHOWN_CHGRP
- {"chgrp", chmod_chown_chgrp_main, _BB_DIR_BIN},
-#endif
#ifdef BB_CHROOT
{"chroot", chroot_main, _BB_DIR_SBIN},
#endif
@@ -65,9 +65,6 @@
#ifdef BB_CP_MV
{"cp", cp_mv_main, _BB_DIR_BIN},
#endif
-#ifdef BB_CP_MV
- {"mv", cp_mv_main, _BB_DIR_BIN},
-#endif
#ifdef BB_DATE
{"date", date_main, _BB_DIR_BIN},
#endif
@@ -92,6 +89,9 @@
#ifdef BB_ECHO
{"echo", echo_main, _BB_DIR_BIN},
#endif
+#ifdef BB_TRUE_FALSE
+ {"false", false_main, _BB_DIR_BIN},
+#endif
#ifdef BB_FBSET
{"fbset", fbset_main, _BB_DIR_USR_SBIN},
#endif
@@ -113,12 +113,15 @@
#ifdef BB_FSCK_MINIX
{"fsck.minix", fsck_minix_main, _BB_DIR_SBIN},
#endif
-#ifdef BB_MKFS_MINIX
- {"mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN},
-#endif
#ifdef BB_GREP
{"grep", grep_main, _BB_DIR_BIN},
#endif
+#ifdef BB_GUNZIP
+ {"gunzip", gunzip_main, _BB_DIR_BIN},
+#endif
+#ifdef BB_GZIP
+ {"gzip", gzip_main, _BB_DIR_BIN},
+#endif
#ifdef BB_HALT
{"halt", halt_main, _BB_DIR_SBIN},
#endif
@@ -137,9 +140,6 @@
#ifdef BB_INSMOD
{"insmod", insmod_main, _BB_DIR_SBIN},
#endif
-#ifdef BB_FEATURE_LINUXRC //
- {"linuxrc", init_main, _BB_DIR_ROOT},
-#endif
#ifdef BB_KILL
{"kill", kill_main, _BB_DIR_BIN},
#endif
@@ -149,6 +149,9 @@
#ifdef BB_LENGTH
{"length", length_main, _BB_DIR_USR_BIN},
#endif
+#ifdef BB_FEATURE_LINUXRC //
+ {"linuxrc", init_main, _BB_DIR_ROOT},
+#endif
#ifdef BB_LN
{"ln", ln_main, _BB_DIR_BIN},
#endif
@@ -161,6 +164,12 @@
#ifdef BB_LOADKMAP
{"loadkmap", loadkmap_main, _BB_DIR_SBIN},
#endif
+#ifdef BB_LOGGER
+ {"logger", logger_main, _BB_DIR_USR_BIN},
+#endif
+#ifdef BB_LOGNAME
+ {"logname", logname_main, _BB_DIR_USR_BIN},
+#endif
#ifdef BB_LS
{"ls", ls_main, _BB_DIR_BIN},
#endif
@@ -179,6 +188,9 @@
#ifdef BB_MKFIFO
{"mkfifo", mkfifo_main, _BB_DIR_USR_BIN},
#endif
+#ifdef BB_MKFS_MINIX
+ {"mkfs.minix", mkfs_minix_main, _BB_DIR_SBIN},
+#endif
#ifdef BB_MKNOD
{"mknod", mknod_main, _BB_DIR_BIN},
#endif
@@ -197,6 +209,9 @@
#ifdef BB_MT
{"mt", mt_main, _BB_DIR_BIN},
#endif
+#ifdef BB_CP_MV
+ {"mv", cp_mv_main, _BB_DIR_BIN},
+#endif
#ifdef BB_NSLOOKUP
{"nslookup", nslookup_main, _BB_DIR_USR_BIN},
#endif
@@ -248,12 +263,6 @@
#ifdef BB_SYSLOGD
{"syslogd", syslogd_main, _BB_DIR_SBIN},
#endif
-#ifdef BB_LOGGER
- {"logger", logger_main, _BB_DIR_USR_BIN},
-#endif
-#ifdef BB_LOGNAME
- {"logname", logname_main, _BB_DIR_USR_BIN},
-#endif
#ifdef BB_SWAPONOFF
{"swapon", swap_on_off_main, _BB_DIR_SBIN},
#endif
@@ -270,9 +279,6 @@
{"telnet", telnet_main, _BB_DIR_USR_BIN},
#endif
#ifdef BB_TEST
- {"[", test_main, _BB_DIR_USR_BIN},
-#endif
-#ifdef BB_TEST
{"test", test_main, _BB_DIR_USR_BIN},
#endif
#ifdef BB_TEE
@@ -287,9 +293,6 @@
#ifdef BB_TRUE_FALSE
{"true", true_main, _BB_DIR_BIN},
#endif
-#ifdef BB_TRUE_FALSE
- {"false", false_main, _BB_DIR_BIN},
-#endif
#ifdef BB_TTY
{"tty", tty_main, _BB_DIR_USR_BIN},
#endif
@@ -299,15 +302,15 @@
#ifdef BB_UNAME
{"uname", uname_main, _BB_DIR_BIN},
#endif
-#ifdef BB_UPTIME
- {"uptime", uptime_main, _BB_DIR_USR_BIN},
-#endif
#ifdef BB_UNIQ
{"uniq", uniq_main, _BB_DIR_BIN},
#endif
#ifdef BB_UPDATE
{"update", update_main, _BB_DIR_SBIN},
#endif
+#ifdef BB_UPTIME
+ {"uptime", uptime_main, _BB_DIR_USR_BIN},
+#endif
#ifdef BB_USLEEP
{"usleep", usleep_main, _BB_DIR_BIN},
#endif
@@ -323,11 +326,8 @@
#ifdef BB_GUNZIP
{"zcat", gunzip_main, _BB_DIR_BIN},
#endif
-#ifdef BB_GUNZIP
- {"gunzip", gunzip_main, _BB_DIR_BIN},
-#endif
-#ifdef BB_GZIP
- {"gzip", gzip_main, _BB_DIR_BIN},
+#ifdef BB_TEST
+ {"[", test_main, _BB_DIR_USR_BIN},
#endif
{0}
};