summaryrefslogtreecommitdiff
path: root/contrib/netcat
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-05-29 07:18:31 +0000
committerXin LI <delphij@FreeBSD.org>2009-05-29 07:18:31 +0000
commitc9b4549c3d26727999d900e5e0fec126520311a8 (patch)
tree00a5743070660923ee85851eaa61c80f87a83246 /contrib/netcat
parentc5e30cc02b9bee4c53457d1bc4184b256ce1a569 (diff)
downloadsrc-test-c9b4549c3d26727999d900e5e0fec126520311a8.tar.gz
src-test-c9b4549c3d26727999d900e5e0fec126520311a8.zip
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
Notes
Notes: svn path=/head/; revision=193021
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 cd3507b11d9b8..965187418367b 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 ,