diff options
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 6 | ||||
-rw-r--r-- | applets/usage.c | 19 |
2 files changed, 24 insertions, 1 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 825f40e..d25ddc1 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -40,6 +40,9 @@ const struct BB_applet applets[] = { #ifdef BB_CHVT {"chvt", chvt_main, _BB_DIR_USR_BIN, chvt_usage}, #endif +#ifdef BB_CMP + {"cmp", cmp_main, _BB_DIR_USR_BIN, cmp_usage}, +#endif #ifdef BB_CP_MV {"cp", cp_mv_main, _BB_DIR_BIN, cp_usage}, #endif @@ -235,6 +238,9 @@ const struct BB_applet applets[] = { #ifdef BB_RDATE {"rdate", rdate_main, _BB_DIR_USR_BIN, rdate_usage}, #endif +#ifdef BB_READLINK + {"readlink", readlink_main, _BB_DIR_USR_BIN, readlink_usage}, +#endif #ifdef BB_REBOOT {"reboot", reboot_main, _BB_DIR_SBIN, reboot_usage}, #endif diff --git a/applets/usage.c b/applets/usage.c index ae6cbaa..81f4cfc 100644 --- a/applets/usage.c +++ b/applets/usage.c @@ -93,6 +93,15 @@ const char clear_usage[] = ; #endif +#if defined BB_CMP +const char cmp_usage[] = + "cmp FILE1 [FILE2]\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nCompare files.\n" +#endif + ; +#endif + #if defined BB_CP_MV const char cp_usage[] = "cp [OPTION]... SOURCE DEST\n" @@ -959,6 +968,15 @@ const char rdate_usage[] = ; #endif +#if defined BB_READLINK +const char readlink_usage[] = + "readlink\n" +#ifndef BB_FEATURE_TRIVIAL_HELP + "\nRead a symbolic link.\n" +#endif + ; +#endif + #if defined BB_REBOOT const char reboot_usage[] = "reboot\n" @@ -967,7 +985,6 @@ const char reboot_usage[] = #endif ; #endif - #if defined BB_RENICE const char renice_usage[] = |