diff options
author | 2001-05-04 01:38:31 +0000 | |
---|---|---|
committer | 2001-05-04 01:38:31 +0000 | |
commit | 451a06865e0fe148550231e83eabf05269488ddf (patch) | |
tree | 9688b0bfaa6e4b415812240f839c48e66d4340a2 | |
parent | Move colon() and cleanhost() to misc.c where I should I have put it in (diff) | |
download | wireguard-openbsd-451a06865e0fe148550231e83eabf05269488ddf.tar.xz wireguard-openbsd-451a06865e0fe148550231e83eabf05269488ddf.zip |
GAPING_SECURITY_HOLE was removed so there is no -e option.
Removed from man page and usage; closes PR 1808
-rw-r--r-- | usr.bin/nc/nc.1 | 3 | ||||
-rw-r--r-- | usr.bin/nc/netcat.c | 7 |
2 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1 index 8eef1b9a54d..b7343d5e574 100644 --- a/usr.bin/nc/nc.1 +++ b/usr.bin/nc/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.11 2000/09/26 01:41:44 ericj Exp $ +.\" $OpenBSD: nc.1,v 1.12 2001/05/04 01:38:31 millert Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -34,7 +34,6 @@ .Sh SYNOPSIS .Nm nc .Op Fl lnrtuvz -.Op Fl e Ar command .Op Fl g Ar intermediates .Op Fl G Ar hopcount .Op Fl i Ar interval diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index 73a8512d25c..ac4161cf2c5 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.19 2001/01/16 20:20:48 ericj Exp $ */ +/* $OpenBSD: netcat.c,v 1.20 2001/05/04 01:38:31 millert Exp $ */ /* Netcat 1.10 RELEASE 960320 * @@ -1367,9 +1367,8 @@ usage(doexit) int doexit; { fprintf(stderr, "netcat - [v1.10]\n"); - fprintf(stderr, "nc [-lnrtuvz] [-e command] [-g intermediates]\n"); - fprintf(stderr, " [-G hopcount] [-i interval] [-o filename] [-p source port]\n"); - fprintf(stderr, " [-s ip address] [-w timeout] [hostname] [port[s...]]\n"); + fprintf(stderr, "nc [-lnrtuvz] [-g intermediates] [-G hopcount] [-i interval] [-o filename]\n"); + fprintf(stderr, " [-p source port] [-s ip address] [-w timeout] [hostname] [port[s...]]\n"); if (doexit) exit(1); } |