From 746d58b75452886b3ef59eaee3dda24a0e6f7c6f Mon Sep 17 00:00:00 2001 From: david Date: Tue, 4 Nov 2008 23:53:30 +0000 Subject: [PATCH] Fix some awkward wording and escape in an NSEDoc example (otherwise DocBook interprets the tags). --- docs/scripting.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/scripting.xml b/docs/scripting.xml index 8854826c1..ceba5fbc0 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -1674,7 +1674,7 @@ local localip, localport = try(client_service:get_info()) use them in their scripts. NSE's documentation system, described in this section, aims to meet both these needs. While reading this section, you may want to browse NSE's online documentation, which is - generated using this documentation. It is at + generated using this system. It is at . @@ -1683,7 +1683,7 @@ local localip, localport = try(client_service:get_info()) LuaDocLuaDoc documentation system called NSEDoc. The documentation for scripts - and modules is contained in their source code, in the form of + and modules is contained in their source code, as comments with a special form. is an NSEDoc comment taken from the @@ -1752,12 +1752,12 @@ local localip, localport = try(client_service:get_info()) -- banner grabbing and data exchange. -- -- These functions may be passed a table of options, but it's not required. The --- keys for the options table are "bytes", "lines", --- "proto", and "timeout". "bytes" sets --- a minimum number of bytes to read. "lines" does the same for --- lines. "proto" sets the protocol to communicate with, --- defaulting to "tcp" if not provided. "timeout" --- sets the socket timeout (see the socket function set_timeout() +-- keys for the options table are <code>"bytes"</code>, <code>"lines"</code>, +-- <code>"proto"</code>, and <code>"timeout"</code>. <code>"bytes"</code> sets +-- a minimum number of bytes to read. <code>"lines"</code> does the same for +-- lines. <code>"proto"</code> sets the protocol to communicate with, +-- defaulting to <code>"tcp"</code> if not provided. <code>"timeout"</code> +-- sets the socket timeout (see the socket function <code>set_timeout()</code> -- for details). -- @author Kris Katterjohn 04/2008 -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html