summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/libbb.h1
-rw-r--r--include/usage.h12
3 files changed, 16 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 0b65266..b1425fa 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -283,6 +283,9 @@
#ifdef CONFIG_INSMOD
APPLET(insmod, insmod_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_INSTALL
+ APPLET(install, install_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_IP
APPLET(ip, ip_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/libbb.h b/include/libbb.h
index a6ccff4..2bb5ce0 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -467,5 +467,6 @@ extern void print_login_prompt(void);
extern void vfork_daemon_rexec(int argc, char **argv, char *foreground_opt);
extern void get_terminal_width_height(int fd, int *width, int *height);
+extern unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *));
#endif /* __LIBCONFIG_H__ */
diff --git a/include/usage.h b/include/usage.h
index ba8fdde..ba808d3 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1239,6 +1239,18 @@
USAGE_INSMOD_MAP("\t-m\tOutput load map to stdout") \
"\t-x\tdo not export externs\n"
+#define install_trivial_usage \
+ "[cgmops] [sources] <dest|directory>"
+#define install_full_usage \
+ "copy files and set attributes\n\n" \
+ "Options:\n" \
+ "\t-c\tcopy the file, default\n" \
+ "\t-g\tset group ownership\n" \
+ "\t-m\tset permission modes\n" \
+ "\t-o\tset ownership\n" \
+ "\t-p\tpreserve date\n" \
+ "\t-s\tstrip symbol tables\n"
+
#define ip_trivial_usage \
"[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }"
#define ip_full_usage \