aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-23 14:46:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-23 14:46:14 +0000
commit715c16ab0a73979dd23d0474756075a35fbc498c (patch)
tree50447ce765141dc0456fb67e64ecf684333e2f0c /include
parent69ca5a70fd4ae30f8a3beabec4d705f7dd32e3f3 (diff)
downloadbusybox-715c16ab0a73979dd23d0474756075a35fbc498c.tar.gz
pscan: add -c, -b: report closed, blocked ports
Diffstat (limited to 'include')
-rw-r--r--include/usage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usage.h b/include/usage.h
index aa1b8b6da..7918b24d8 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3019,10 +3019,12 @@
" 2990 andersen andersen R ps\n"
#define pscan_trivial_usage \
- "[-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST"
+ "[-cb] [-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 -c Show closed ports too" \
+ "\n -c Show blocked ports too" \
"\n -p Scan from this port (default 1)" \
"\n -P Scan up to this port (default 1024)" \
"\n -t Timeout (default 5000 ms)" \