diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-05-29 07:18:31 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-05-29 07:18:31 +0000 |
commit | c9b4549c3d26727999d900e5e0fec126520311a8 (patch) | |
tree | 00a5743070660923ee85851eaa61c80f87a83246 | |
parent | c5e30cc02b9bee4c53457d1bc4184b256ce1a569 (diff) | |
download | src-c9b4549c3d26727999d900e5e0fec126520311a8.tar.gz src-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
-rw-r--r-- | contrib/netcat/nc.1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1 index cd3507b11d9b..965187418367 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 , |