diff options
author | chai <chaifix@163.com> | 2021-10-30 11:42:13 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-30 11:42:13 +0800 |
commit | 53364ddc2e09362cb17432abf4fb598557554a9f (patch) | |
tree | 8d2deafc82aceb13db31938a2aecc70927fc1457 /Data/Libraries/LDoc/tests/example/modtest.lua | |
parent | 42ec7286b2d36a9ba22925f816a17cb1cc2aa5ce (diff) |
+ LDoc
Diffstat (limited to 'Data/Libraries/LDoc/tests/example/modtest.lua')
-rw-r--r-- | Data/Libraries/LDoc/tests/example/modtest.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Data/Libraries/LDoc/tests/example/modtest.lua b/Data/Libraries/LDoc/tests/example/modtest.lua new file mode 100644 index 0000000..cefabf1 --- /dev/null +++ b/Data/Libraries/LDoc/tests/example/modtest.lua @@ -0,0 +1,18 @@ +------- +-- A script. +-- Scripts are not containers in the sense that modules are, +-- (although perhaps the idea of 'commands' could be adopted for some utilities) +-- It allows any upfront script comments to be included in the +-- documentation. Any long string marked with the 'usage' tag will also appear +-- in this area. +-- +-- @script modtest + +--- @usage +local usage = [[ +modtest NAME +where NAME is your favourite name! + +]] + +print ('hello',arg[1]) |