aboutsummaryrefslogtreecommitdiffstats
path: root/aataaj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'aataaj.lua')
-rwxr-xr-xaataaj.lua15
1 files changed, 3 insertions, 12 deletions
diff --git a/aataaj.lua b/aataaj.lua
index 6108dd5..5e45525 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -17,7 +17,7 @@
17local _ = require '_' 17local _ = require '_'
18 18
19 19
20local Help = [[ 20Help = [[
21This is part of the AllAudioToALSAandJACK project, aataaj for short, 21This is part of the AllAudioToALSAandJACK project, aataaj for short,
22pronounced like "attach". 22pronounced like "attach".
23 23
@@ -81,7 +81,7 @@ NOTE - Seems both ALSA and JACK are per user. So you need to run
81"aataaj JACK" for each user. 81"aataaj JACK" for each user.
82 82
83]] 83]]
84 84Version = '0.0 crap'
85 85
86 86
87local options = 87local options =
@@ -107,7 +107,7 @@ local options =
107 STOP = 107 STOP =
108 { 108 {
109 help = 'Command to stop the JACK stuff, for users.', 109 help = 'Command to stop the JACK stuff, for users.',
110 func = function(a, args, i) 110 func = function(self, a, args, i)
111 _.killEmAll{'qsynth'} 111 _.killEmAll{'qsynth'}
112 __[[#!/bin/bash 112 __[[#!/bin/bash
113 a2j_control --stop 113 a2j_control --stop
@@ -132,15 +132,6 @@ local options =
132 os.exit(0) 132 os.exit(0)
133 end 133 end
134 }, 134 },
135 help =
136 {
137 help = 'Print help.',
138 func = function(a, args, i)
139 print(Help)
140 os.exit(0)
141 end
142 },
143 ['--help'] = {help},
144} 135}
145 136
146_.parse(arg, options) 137_.parse(arg, options)