summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorEric Andersen2000-09-20 19:22:26 +0000
committerEric Andersen2000-09-20 19:22:26 +0000
commitcff3fe3ae9696584f0c4bdad6860e8d94d5e99f9 (patch)
tree11ccadd6495c9e4fbd920896e94935551af4c14d /applets/usage.c
parent0cccdfaf363171c9f0761fbdb2028db0ea73e6b5 (diff)
downloadbusybox-cff3fe3ae9696584f0c4bdad6860e8d94d5e99f9.zip
busybox-cff3fe3ae9696584f0c4bdad6860e8d94d5e99f9.tar.gz
Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.
-Erik
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index cee2702..4a3d734 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -207,6 +207,15 @@ const char dmesg_usage[] =
;
#endif
+#if defined BB_DOS2UNIX
+const char dos2unix_usage[] =
+ "dos2unix < dosfile > unixfile\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nConverts a text file from dos format to unix format.\n"
+#endif
+ ;
+#endif
+
#if defined BB_DU
const char du_usage[] =
"du [OPTION]... [FILE]...\n"
@@ -1307,6 +1316,24 @@ const char uniq_usage[] =
;
#endif
+#if defined BB_UNIX2DOS
+const char unix2dos_usage[] =
+ "unix2dos < unixfile > dosfile\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nConverts a text file from unix format to dos format.\n"
+#endif
+ ;
+#endif
+
+#if defined BB_UNRPM
+const char unrpm_usage[] =
+ "unrpm < package.rpm | gzip -d | cpio -idmuv\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nExtracts an rpm archive.\n"
+#endif
+ ;
+#endif
+
#if defined BB_UPDATE
const char update_usage[] =
"update [options]\n"