diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/pscan.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/pscan.c')
-rw-r--r-- | networking/pscan.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/networking/pscan.c b/networking/pscan.c index a9e5d5c29..5595148fc 100644 --- a/networking/pscan.c +++ b/networking/pscan.c | |||
@@ -6,6 +6,18 @@ | |||
6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 6 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
7 | */ | 7 | */ |
8 | 8 | ||
9 | //usage:#define pscan_trivial_usage | ||
10 | //usage: "[-cb] [-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" | ||
11 | //usage:#define pscan_full_usage "\n\n" | ||
12 | //usage: "Scan a host, print all open ports\n" | ||
13 | //usage: "\nOptions:" | ||
14 | //usage: "\n -c Show closed ports too" | ||
15 | //usage: "\n -b Show blocked ports too" | ||
16 | //usage: "\n -p Scan from this port (default 1)" | ||
17 | //usage: "\n -P Scan up to this port (default 1024)" | ||
18 | //usage: "\n -t Timeout (default 5000 ms)" | ||
19 | //usage: "\n -T Minimum rtt (default 5 ms, increase for congested hosts)" | ||
20 | |||
9 | #include "libbb.h" | 21 | #include "libbb.h" |
10 | 22 | ||
11 | /* debugging */ | 23 | /* debugging */ |