aboutsummaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-29 21:38:11 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-29 21:38:11 +0000
commite500d2083560b2988e7e48e00ba836ce0450c656 (patch)
tree8541687153725cb192f1fac48ddadbb060b4c24e /usage.c
parentd58ff8731ce635a75406cc8b9629f1041bb4ed32 (diff)
downloadbusybox-e500d2083560b2988e7e48e00ba836ce0450c656.tar.gz
Apply a patch fromkent robotti:
Renamed unrpm to original rpmunpack, so you can use an included shell script called unrpm as a front end to it. There's also a shell script called undeb included for debian packages. Change undeb and unrpm scripts to work with the busybox tar and gunzip.
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/usage.c b/usage.c
index 423172d7b..93fbf42b9 100644
--- a/usage.c
+++ b/usage.c
@@ -1058,6 +1058,15 @@ const char rmmod_usage[] =
;
#endif
+#if defined BB_RPMUNPACK
+const char rpmunpack_usage[] =
+ "rpmunpack < package.rpm | gunzip | cpio -idmuv\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nExtracts an rpm archive.\n"
+#endif
+ ;
+#endif
+
#if defined BB_SED
const char sed_usage[] =
"sed [-Vhnef] pattern [files...]\n"
@@ -1365,15 +1374,6 @@ const char unix2dos_usage[] =
;
#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"