diff options
author | jakob <> | 2001-09-02 19:07:17 +0000 |
---|---|---|
committer | jakob <> | 2001-09-02 19:07:17 +0000 |
commit | 96028cf8941691cedc2674d90c1d1f0c2b0d3da1 (patch) | |
tree | 621c1766d60ccb7b9a5cd448e4cbbac900049666 | |
parent | 96cd155f026aa0327fe3720befce278f3efb5963 (diff) | |
download | openbsd-96028cf8941691cedc2674d90c1d1f0c2b0d3da1.tar.gz openbsd-96028cf8941691cedc2674d90c1d1f0c2b0d3da1.tar.bz2 openbsd-96028cf8941691cedc2674d90c1d1f0c2b0d3da1.zip |
update command summary
-rw-r--r-- | src/usr.bin/nc/netcat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr.bin/nc/netcat.c b/src/usr.bin/nc/netcat.c index eda159e210..5b5202ca78 100644 --- a/src/usr.bin/nc/netcat.c +++ b/src/usr.bin/nc/netcat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: netcat.c,v 1.35 2001/09/02 19:04:23 jakob Exp $ */ | 1 | /* $OpenBSD: netcat.c,v 1.36 2001/09/02 19:07:17 jakob Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> | 3 | * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> |
4 | * | 4 | * |
@@ -619,7 +619,7 @@ help() | |||
619 | \t-k Keep inbound sockets open for multiple connects\n\ | 619 | \t-k Keep inbound sockets open for multiple connects\n\ |
620 | \t-l Listen mode, for inbound connects\n\ | 620 | \t-l Listen mode, for inbound connects\n\ |
621 | \t-n Suppress name/port resolutions\n\ | 621 | \t-n Suppress name/port resolutions\n\ |
622 | \t-p Specify local port for remote connects\n\ | 622 | \t-p port\t Specify local port for remote connects\n\ |
623 | \t-r Randomize remote ports\n\ | 623 | \t-r Randomize remote ports\n\ |
624 | \t-s addr\t Local source address\n\ | 624 | \t-s addr\t Local source address\n\ |
625 | \t-t Answer TELNET negotiation\n\ | 625 | \t-t Answer TELNET negotiation\n\ |
@@ -637,7 +637,8 @@ usage(ret) | |||
637 | int ret; | 637 | int ret; |
638 | { | 638 | { |
639 | fprintf(stderr, "usage: nc [-46hklnrtuvz] [-i interval] [-p source port]\n"); | 639 | fprintf(stderr, "usage: nc [-46hklnrtuvz] [-i interval] [-p source port]\n"); |
640 | fprintf(stderr, "\t [-s ip address] [-w timeout] [hostname] [port[s...]]\n"); | 640 | fprintf(stderr, "\t [-s ip address] [-w timeout] [-x proxy address [:port]]\n"); |
641 | fprintf(stderr, "\t [hostname] [port[s...]]\n"); | ||
641 | if (ret) | 642 | if (ret) |
642 | exit(1); | 643 | exit(1); |
643 | } | 644 | } |