summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-06-26 01:19:34 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-06-26 01:19:34 +0000
commitf8736d251e4291e414bd0bdaca2346cd7ef265dd (patch)
tree3c0018fb1226672ebaac9a2043eb078fbc940368 /include
parent6c947d289fde9468092a23ed686632c81f99dcac (diff)
rpm2cpio applet by Laurence Anderson
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
2 files changed, 9 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index 88aec8ad1..287b29cf2 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -326,6 +326,9 @@
#ifdef BB_ROUTE
APPLET(route, route_main, _BB_DIR_USR_BIN)
#endif
+#ifdef BB_RPM2CPIO
+ APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN)
+#endif
#ifdef BB_RPMUNPACK
APPLET(rpmunpack, rpmunpack_main, _BB_DIR_USR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index bf10e114f..a19f0fe22 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1310,11 +1310,16 @@
#define route_full_usage \
"Edit the kernel's routing tables"
+#define rpm2cpio_trivial_usage \
+ "package.rpm"
+#define rpm2cpio_full_usage \
+ "Outputs a cpio archive of the rpm file."
+
#define rpmunpack_trivial_usage \
"< package.rpm | gunzip | cpio -idmuv"
#define rpmunpack_full_usage \
"Extracts an rpm archive."
-
+
#define sed_trivial_usage \
"[-nef] pattern [files...]"
#define sed_full_usage \