1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 05:01:29 +00:00

Fix some NSEDoc. Some libraries had @copyright and @author right at the

top of the first comment, so the entire description got stuffed into the
@author field. I also discovered a limitation in the NSEDoc parser: the
first non-empty line following the first --- comment must be the
"module" call, or else the block isn't recognized as belonging to a
module. This was preventing @args from appearing in certain libraries.
Djalal Harouni told me about this.
This commit is contained in:
david
2010-04-15 19:21:13 +00:00
parent f3a989f989
commit dc03a70c79
4 changed files with 28 additions and 30 deletions

View File

@@ -1,18 +1,18 @@
--- Simple MySQL Library supporting a very limited subset of operations
---
-- Simple MySQL Library supporting a very limited subset of operations
-- http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol
--
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
--
--
-- @author = "Patrik Karlsson <patrik@cqure.net>"
--
-- @author "Patrik Karlsson <patrik@cqure.net>"
module(... or "mysql", package.seeall)
-- Version 0.2
--
-- Created 01/15/2010 - v0.1 - created by Patrik Karlsson <patrik@cqure.net>
-- Revised 01/23/2010 - v0.2 - added query support, cleanup, documentation
-- http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol
module(... or "mysql", package.seeall)
local HAVE_SSL = false
if pcall(require,'openssl') then