Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/argcheck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2014-03-24 18:33:02 +0400
committerRonan Collobert <ronan@collobert.com>2014-03-24 18:33:02 +0400
commitc156165b0f5e8f22cb0890d26dc69b75129a65d9 (patch)
treef176e3e202a0d03cbbe8e48c01aef7757c62e929 /doc.lua
parent40fe033d60db1a4336f216c95666d522e6b44edf (diff)
added support for @ARGP and @ARGT (no __args anymore)
Diffstat (limited to 'doc.lua')
-rw-r--r--doc.lua10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc.lua b/doc.lua
index 97a52b8..3acfb5e 100644
--- a/doc.lua
+++ b/doc.lua
@@ -1,12 +1,4 @@
-local doc = {__args=false}
-
-function doc.showargs()
- doc.__args = true
-end
-
-function doc.hideargs()
- doc.__args = true
-end
+local doc = {}
function doc.record()
doc.__record = {}