aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
authordvs12024-10-24 13:28:18 +1000
committerdvs12024-10-24 13:28:18 +1000
commite4fcdb2458635ca3c034fcd2df129f53d9e154e5 (patch)
treedaa0ed1e8fe1b87b231c744ee039c9649b4861c6 /test_.lua
parentSplit up the audio output a little nicer. (diff)
downloadJackOnAllDevices-e4fcdb2458635ca3c034fcd2df129f53d9e154e5.zip
JackOnAllDevices-e4fcdb2458635ca3c034fcd2df129f53d9e154e5.tar.gz
JackOnAllDevices-e4fcdb2458635ca3c034fcd2df129f53d9e154e5.tar.bz2
JackOnAllDevices-e4fcdb2458635ca3c034fcd2df129f53d9e154e5.tar.xz
Some more tidying up.
Diffstat (limited to '')
-rwxr-xr-xtest_.lua38
1 files changed, 10 insertions, 28 deletions
diff --git a/test_.lua b/test_.lua
index 497b896..e559238 100755
--- a/test_.lua
+++ b/test_.lua
@@ -13,27 +13,13 @@ This is part of the blah blah blah...
13 13
14local options = 14local options =
15{ 15{
16 start = 16 start = {help = 'Command to start the scanning process, for Sys V init.',},
17 {
18 help = 'Command to start the scanning process, for Sys V init.',
19 },
20 restart = {start}, 17 restart = {start},
21 ['force-reload'] = {start}, 18 ['force-reload'] = {start},
22 status = 19 status = {help = 'Command to check the status of the scanning process, for Sys V init.',},
23 { 20 stop = {help = 'Command to stop the scanning process, for Sys V init.',},
24 help = 'Command to check the status of the scanning process, for Sys V init.', 21 JACK = {help = 'Command to start the JACK stuff, for users.',},
25 }, 22 STOP = {help = 'Command to stop the JACK stuff, for users.',
26 stop =
27 {
28 help = 'Command to stop the scanning process, for Sys V init.',
29 },
30 JACK =
31 {
32 help = 'Command to start the JACK stuff, for users.',
33 },
34 STOP =
35 {
36 help = 'Command to stop the JACK stuff, for users.',
37 func = function(a, args, i) 23 func = function(a, args, i)
38--[=[ 24--[=[
39 _.killEmAll{'qsynth'} 25 _.killEmAll{'qsynth'}
@@ -60,9 +46,7 @@ local options =
60]=] 46]=]
61 end 47 end
62 }, 48 },
63 help = 49 help = {help = 'Print help.',
64 {
65 help = 'Print help.',
66 func = function(a, args, i) 50 func = function(a, args, i)
67 print(Help) 51 print(Help)
68 os.exit(0) 52 os.exit(0)
@@ -96,17 +80,15 @@ for i,l in ipairs(__'free -h':log():Do().lines) do
96end 80end
97print('') 81print('')
98 82
99__'uname -a':log():also'free -h':show():Do()
100print('')
101
102for i,l in ipairs(__'uname -a\nfree -h':log():Do().lines) do 83for i,l in ipairs(__'uname -a\nfree -h':log():Do().lines) do
103 print(l) 84 print(l)
104end 85end
105print('') 86print('')
106 87
107for i,l in ipairs(__{'uname -a', 'free -h'}:log():Do().lines) do 88__'uname -a':log():also'free -h':show():Do()
108 print(l) 89print('')
109end 90
91__{'uname -a', 'free -h'}:log():show():Do()
110print('') 92print('')
111 93
112 94