aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
authordvs12024-10-25 12:23:00 +1000
committerdvs12024-10-25 12:23:00 +1000
commit3b13a7b11b9ef5a84c2c2c97c166babfa4757420 (patch)
treefa87b3f95bbb56178566350e219fa431c20b7ec2 /test_.lua
parentAnother error test. (diff)
downloadJackOnAllDevices-3b13a7b11b9ef5a84c2c2c97c166babfa4757420.zip
JackOnAllDevices-3b13a7b11b9ef5a84c2c2c97c166babfa4757420.tar.gz
JackOnAllDevices-3b13a7b11b9ef5a84c2c2c97c166babfa4757420.tar.bz2
JackOnAllDevices-3b13a7b11b9ef5a84c2c2c97c166babfa4757420.tar.xz
Support config files now.
Diffstat (limited to '')
-rwxr-xr-xtest_.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/test_.lua b/test_.lua
index b5348f0..5876ed9 100755
--- a/test_.lua
+++ b/test_.lua
@@ -13,7 +13,7 @@ This is part of the blah blah blah...
13 13
14local options = 14local options =
15{ 15{
16 start = {help = 'Command to start the scanning process, for Sys V init.',}, 16 start = {help = 'Command to start the scanning process, for Sys V init.', value = 'blah'},
17 restart = {start}, 17 restart = {start},
18 ['force-reload'] = {start}, 18 ['force-reload'] = {start},
19 status = {help = 'Command to check the status of the scanning process, for Sys V init.',}, 19 status = {help = 'Command to check the status of the scanning process, for Sys V init.',},
@@ -55,7 +55,10 @@ local options =
55 ['--help'] = {help}, 55 ['--help'] = {help},
56} 56}
57 57
58_.parse(arg, options) 58print("start = " .. options.start.value)
59_.parse(arg, options, 'test_')
60print("start = " .. options.start.value)
61print("stop = " .. options.stop.value)
59 62
60 63
61 64