diff --git a/ncat/docs/ncat.xml b/ncat/docs/ncat.xml
index 2ed699183..85b62c018 100644
--- a/ncat/docs/ncat.xml
+++ b/ncat/docs/ncat.xml
@@ -462,30 +462,6 @@
accept a maximum, definable, number of simultaneous connections
controlled by the option. By default this is set
to 100 (60 on Windows).
-
- --exec adds the following variables to the child's environment:
-
-
- NCAT_REMOTE_ADDR - the remote address - in connect mode,
- it's the one we're connecting to, in listen mode - it's the one
- that connected to us,
-
- NCAT_REMOTE_PORT - the remote port number, where "remote"
- means the same as above,
-
- NCAT_LOCAL_ADDR - our local address used for
- establishing/receiving the connection,
-
- NCAT_LOCAL_PORT - our local port number,
-
- NCAT_PROTO - the protocol name - TCP, UDP or SCTP,
-
-
-
-
- Currently the address fields are numeric IP addresses. In IPv6
- mode, the address might be not expanded.
-
@@ -500,9 +476,7 @@
Same as , except it tries to execute
the command via /bin/sh. This means you don't
have to specify the full path for the command, and shell facilities
- like environment variables are available. Ncat also sets a few
- special environment variables (see for details).
-
+ like environment variables are available.
@@ -520,6 +494,28 @@
+ All exec options add the following variables to the child's environment:
+
+ NCAT_REMOTE_ADDR - the remote address - in connect mode,
+ it's the one we're connecting to, in listen mode - it's the one
+ that connected to us,
+
+ NCAT_REMOTE_PORT - the remote port number, where "remote"
+ means the same as above,
+
+ NCAT_LOCAL_ADDR - our local address used for
+ establishing/receiving the connection,
+
+ NCAT_LOCAL_PORT - our local port number,
+
+ NCAT_PROTO - the protocol name - TCP, UDP or SCTP,
+
+
+
+
+ Currently the address fields are numeric IP addresses. In IPv6
+ mode, the address might be not expanded.
+