aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h10
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 883e55990..2b2c45d67 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -258,6 +258,9 @@
#ifdef CONFIG_FTPPUT
APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_FUSER
+ APPLET(fuser, fuser_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_GETOPT
APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 69c50b97b..79a61d20a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -841,6 +841,16 @@
"\t-p, --password Password to be used\n" \
"\t-P, --port Port number to be used"
+#define fuser_trivial_usage \
+ "[options] file OR port/proto"
+#define fuser_full_usage \
+ "Options:\n" \
+ "\t-m Show all processes on the same mounted fs\n" \
+ "\t-k Kill all processes that match.\n" \
+ "\t-s Don't print or kill anything.\n" \
+ "\t-4 When using port/proto only search IPv4 space\n" \
+ "\t-6 When using port/proto only search IPv6 space\n" \
+ "\t-SIGNAL When used with -k, this signal will be used to kill\n"
#define getopt_trivial_usage \
"[OPTIONS]..."
#define getopt_full_usage \