aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest_.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/test_.lua b/test_.lua
index 8d52896..82c418f 100755
--- a/test_.lua
+++ b/test_.lua
@@ -6,10 +6,11 @@ local _ = require '_'
6 6
7I'Starting from the top.' 7I'Starting from the top.'
8 8
9local Help = [[ 9Help = [[
10This is part of the blah blah blah... 10This is part of the blah blah blah...
11]] 11]]
12 12
13Version = '0.0 crap'
13 14
14local options = 15local options =
15{ 16{
@@ -20,7 +21,7 @@ local options =
20 stop = {help = 'Command to stop the scanning process, for Sys V init.',}, 21 stop = {help = 'Command to stop the scanning process, for Sys V init.',},
21 JACK = {help = 'Command to start the JACK stuff, for users.',}, 22 JACK = {help = 'Command to start the JACK stuff, for users.',},
22 STOP = {help = 'Command to stop the JACK stuff, for users.', 23 STOP = {help = 'Command to stop the JACK stuff, for users.',
23 func = function(a, args, i) 24 func = function(self, a, args, i)
24--[=[ 25--[=[
25 _.killEmAll{'qsynth'} 26 _.killEmAll{'qsynth'}
26 __[[ 27 __[[
@@ -46,13 +47,6 @@ local options =
46]=] 47]=]
47 end 48 end
48 }, 49 },
49 help = {help = 'Print help.',
50 func = function(a, args, i)
51 print(Help)
52 os.exit(0)
53 end
54 },
55 ['--help'] = {help},
56} 50}
57 51
58print("start = " .. options.start.value) 52print("start = " .. options.start.value)