summaryrefslogtreecommitdiffstats
path: root/contrib/netcat
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-05-29 07:18:31 +0000
committerdelphij <delphij@FreeBSD.org>2009-05-29 07:18:31 +0000
commita62a3b6e1f0d0a6660165e9e632d979d51a3bafc (patch)
tree00a5743070660923ee85851eaa61c80f87a83246 /contrib/netcat
parent8d73adc757c1e55e55c2f44cc26e036dc046c5cb (diff)
downloadFreeBSD-src-a62a3b6e1f0d0a6660165e9e632d979d51a3bafc.zip
FreeBSD-src-a62a3b6e1f0d0a6660165e9e632d979d51a3bafc.tar.gz
Add an EXIT STATUS section to the manual page. Currently, nc(1)
does not follow sysexits(3), and returns 1 for all error cases. PR: docs/126451
Diffstat (limited to 'contrib/netcat')
-rw-r--r--contrib/netcat/nc.12
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1
index cd3507b..9651874 100644
--- a/contrib/netcat/nc.1
+++ b/contrib/netcat/nc.1
@@ -445,6 +445,8 @@ The same example again, this time enabling proxy authentication with username
if the proxy requires it:
.Pp
.Dl $ nc -x10.2.3.4:8080 -Xconnect -Pruser host.example.com 42
+.Sh EXIT STATUS
+.Ex -std
.Sh SEE ALSO
.Xr cat 1 ,
.Xr ssh 1 ,
OpenPOWER on IntegriCloud