summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorMark Whitley2000-10-09 18:56:47 +0000
committerMark Whitley2000-10-09 18:56:47 +0000
commit872138de50b1c5bbf105b0243f5778fcb02b310b (patch)
treebae88fc4587a4d0aa9ec228c1006f4b364d0633e /applets/usage.c
parent7a86e61a54f75c6c457be177fb20f6dde27c06d3 (diff)
downloadbusybox-872138de50b1c5bbf105b0243f5778fcb02b310b.zip
busybox-872138de50b1c5bbf105b0243f5778fcb02b310b.tar.gz
Added cmp and readlink applets from Matt Kraai.
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c19
1 files changed, 18 insertions, 1 deletions
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[] =