aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/unarchive.h1
-rw-r--r--include/usage.h13
3 files changed, 17 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index b7171f7a1..9257fc940 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -440,6 +440,9 @@
#ifdef CONFIG_ROUTE
APPLET(route, route_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_RPM
+ APPLET(rpm, rpm_main, _BB_DIR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_RPM2CPIO
APPLET(rpm2cpio, rpm2cpio_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/unarchive.h b/include/unarchive.h
index aca685915..8396f878c 100644
--- a/include/unarchive.h
+++ b/include/unarchive.h
@@ -85,6 +85,7 @@ extern void check_header_gzip(int src_fd);
extern void check_trailer_gzip(int src_fd);
extern char get_header_ar(archive_handle_t *archive_handle);
+extern char get_header_cpio(archive_handle_t *archive_handle);
extern char get_header_tar(archive_handle_t *archive_handle);
extern char get_header_tar_bz2(archive_handle_t *archive_handle);
extern char get_header_tar_gz(archive_handle_t *archive_handle);
diff --git a/include/usage.h b/include/usage.h
index 17fd4073a..5b357a218 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1696,6 +1696,19 @@
"\t-n\tDont resolve names.\n" \
"\t-e\tDisplay other/more information"
+#define rpm_trivial_usage \
+ "-i -q[ildc]p package.rpm"
+#define rpm_full_usage \
+ "Manipulates RPM packages" \
+ "Options:" \
+ "\t-i Install package" \
+ "\t-q Query package" \
+ "\t\t-p Query uninstalled package" \
+ "\t\t-i Show information" \
+ "\t\t-l List contents" \
+ "\t\t-d List documents" \
+ "\t\t-c List config files"
+
#define rpm2cpio_trivial_usage \
"package.rpm"
#define rpm2cpio_full_usage \