aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-09-20 19:22:26 +0000
committerEric Andersen <andersen@codepoet.org>2000-09-20 19:22:26 +0000
commitcff3fe3ae9696584f0c4bdad6860e8d94d5e99f9 (patch)
tree11ccadd6495c9e4fbd920896e94935551af4c14d /usage.c
parent0cccdfaf363171c9f0761fbdb2028db0ea73e6b5 (diff)
downloadbusybox-cff3fe3ae9696584f0c4bdad6860e8d94d5e99f9.tar.gz
Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.
-Erik
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/usage.c b/usage.c
index cee270220..4a3d7346a 100644
--- a/usage.c
+++ b/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"