summaryrefslogtreecommitdiff
path: root/busybox.c
diff options
context:
space:
mode:
authorMark Whitley2000-10-19 22:28:06 +0000
committerMark Whitley2000-10-19 22:28:06 +0000
commit6050618096ab058d29264a6d6b604275b44121bb (patch)
tree5818d62ef16fefe16ea1b4e412ad06a50c87f599 /busybox.c
parent69229a6c92a2d73bcee7c06eb79bd0a4f40d4e16 (diff)
downloadbusybox-6050618096ab058d29264a6d6b604275b44121bb.zip
busybox-6050618096ab058d29264a6d6b604275b44121bb.tar.gz
Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]
Diffstat (limited to 'busybox.c')
-rw-r--r--busybox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/busybox.c b/busybox.c
index d25ddc1..21b8a11 100644
--- a/busybox.c
+++ b/busybox.c
@@ -110,7 +110,7 @@ const struct BB_applet applets[] = {
{"fsck.minix", fsck_minix_main, _BB_DIR_SBIN, fsck_minix_usage},
#endif
#ifdef BB_GETOPT
- {"getopt", getopt_main, _BB_DIR_BIN},
+ {"getopt", getopt_main, _BB_DIR_BIN, getopt_usage},
#endif
#ifdef BB_GREP
{"grep", grep_main, _BB_DIR_BIN, grep_usage},
@@ -245,7 +245,7 @@ const struct BB_applet applets[] = {
{"reboot", reboot_main, _BB_DIR_SBIN, reboot_usage},
#endif
#ifdef BB_RENICE
- {"renice", renice_main, _BB_DIR_USR_BIN},
+ {"renice", renice_main, _BB_DIR_USR_BIN, renice_usage},
#endif
#ifdef BB_RESET
{"reset", reset_main, _BB_DIR_USR_BIN, reset_usage},