aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 01cfb8629..cfb278123 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -421,6 +421,9 @@
421#ifdef CONFIG_PASSWD 421#ifdef CONFIG_PASSWD
422 APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) 422 APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS)
423#endif 423#endif
424#ifdef CONFIG_PATCH
425 APPLET(patch, patch_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
426#endif
424#ifdef CONFIG_PIDFILEHACK 427#ifdef CONFIG_PIDFILEHACK
425 APPLET(pidfilehack, pidfilehack_main, _BB_DIR_BIN, _BB_SUID_NEVER) 428 APPLET(pidfilehack, pidfilehack_main, _BB_DIR_BIN, _BB_SUID_NEVER)
426#endif 429#endif
diff --git a/include/usage.h b/include/usage.h
index d60a4dc78..701b40daa 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1696,6 +1696,13 @@
1696 "\t-l\tLocks (disables) the specified user account.\n" \ 1696 "\t-l\tLocks (disables) the specified user account.\n" \
1697 "\t-u\tUnlocks (re-enables) the specified user account." 1697 "\t-u\tUnlocks (re-enables) the specified user account."
1698 1698
1699#define patch_trivial_usage \
1700 "[-p<num>]"
1701#define patch_full_usage \
1702 "[-p<num>]"
1703#define patch_example_usage \
1704 "$ patch -p1 <example.diff"
1705
1699#define pidfilehack_trivial_usage \ 1706#define pidfilehack_trivial_usage \
1700 "[daemon.pid] [daemon]" 1707 "[daemon.pid] [daemon]"
1701#define pidfilehack_full_usage \ 1708#define pidfilehack_full_usage \