aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest_.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/test_.lua b/test_.lua
index e4448d2..d29a433 100755
--- a/test_.lua
+++ b/test_.lua
@@ -55,8 +55,7 @@ local options =
55 ['--help'] = {help}, 55 ['--help'] = {help},
56} 56}
57 57
58local args = {...} 58_.parse(arg, options)
59_.parseArgs(options, args)
60 59
61 60
62 61
@@ -137,7 +136,12 @@ print(__'command NoSuchCommand':log():show():Do().status)
137--__'qpdfview':forkOnce() 136--__'qpdfview':forkOnce()
138--__'qpdfview':forkOnce() 137--__'qpdfview':forkOnce()
139 138
139print('')
140
141for i,a in ipairs(arg) do print('arg[' .. i .. '] = ' .. a) end
142print('')
143for k,a in pairs(arg) do print('arg[' .. k .. '] = ' .. a) end
140 144
141__'date':log():show():Do() 145__'date':log():show():Do()
142__'date; sleep 5; date':log():show():Do() 146__'date; sleep 5; date':log():show():Do()
143print('') 147