summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/nc/nc.14
-rw-r--r--usr.bin/nc/netcat.c8
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1
index b40ce30360d..719cdd84664 100644
--- a/usr.bin/nc/nc.1
+++ b/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nc.1,v 1.30 2004/03/03 06:45:54 tedu Exp $
+.\" $OpenBSD: nc.1,v 1.31 2004/03/12 10:10:00 jmc Exp $
.\"
.\" Copyright (c) 1996 David Sacerdote
.\" All rights reserved.
@@ -33,6 +33,7 @@
.Nd arbitrary TCP and UDP connections and listens
.Sh SYNOPSIS
.Nm nc
+.Bk -words
.Op Fl 46dhklnrStUuvz
.Op Fl i Ar interval
.Op Fl p Ar source_port
@@ -45,6 +46,7 @@
.Xc
.Op Ar hostname
.Op Ar port Ns Bq Ar s
+.Ek
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c
index 0754001f8c2..ee151972e87 100644
--- a/usr.bin/nc/netcat.c
+++ b/usr.bin/nc/netcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netcat.c,v 1.71 2004/03/07 07:55:55 mcbride Exp $ */
+/* $OpenBSD: netcat.c,v 1.72 2004/03/12 10:10:00 jmc Exp $ */
/*
* Copyright (c) 2001 Eric Jackson <ericj@monkey.org>
*
@@ -778,9 +778,9 @@ help(void)
void
usage(int ret)
{
- fprintf(stderr, "usage: nc [-46dhklnrStUuvz] [-i interval] [-p source_port] [-s source_ip_address]\n");
- fprintf(stderr, "\t [-w timeout] [-X socks_version] [-x proxy_address[:port]] [hostname]\n");
- fprintf(stderr, "\t [port[s]]\n");
+ fprintf(stderr, "usage: nc [-46dhklnrStUuvz] [-i interval] [-p source_port]\n");
+ fprintf(stderr, "\t [-s source_ip_address] [-w timeout] [-X socks_version]\n");
+ fprintf(stderr, "\t [-x proxy_address[:port]] [hostname] [port[s]]\n");
if (ret)
exit(1);
}