summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h10
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index e4dff11..0f378bb 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -257,6 +257,7 @@ USE_HALT(APPLET_ODDNAME(poweroff, halt, _BB_DIR_SBIN, _BB_SUID_NEVER, poweroff))
USE_PRINTENV(APPLET(printenv, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_PRINTF(APPLET(printf, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_PS(APPLET(ps, _BB_DIR_BIN, _BB_SUID_NEVER))
+USE_PSCAN(APPLET(pscan, _BB_DIR_USR_BIN, _BB_SUID_NEVER))
USE_PWD(APPLET_NOFORK(pwd, pwd, _BB_DIR_BIN, _BB_SUID_NEVER, pwd))
USE_RAIDAUTORUN(APPLET(raidautorun, _BB_DIR_SBIN, _BB_SUID_NEVER))
USE_RDATE(APPLET(rdate, _BB_DIR_USR_SBIN, _BB_SUID_NEVER))
diff --git a/include/usage.h b/include/usage.h
index 1c4442e..7e23de9 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2676,6 +2676,16 @@
" 2990 andersen andersen R ps\n"
+#define pscan_trivial_usage \
+ "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST"
+#define pscan_full_usage \
+ "Scan a host, print all open ports" \
+ "\n\nOptions:" \
+ "\n -p Scan from this port (default 1)" \
+ "\n -P Scan up to this port (default 1024)" \
+ "\n -t Timeout (default 5000 ms)" \
+ "\n -T Minimum rtt (default 5 ms, increase for congested hosts)" \
+
#define pwd_trivial_usage \
""
#define pwd_full_usage \