aboutsummaryrefslogtreecommitdiffstats
path: root/test_.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test_.lua')
-rwxr-xr-xtest_.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test_.lua b/test_.lua
index b1ded7d..6a51b45 100755
--- a/test_.lua
+++ b/test_.lua
@@ -15,8 +15,8 @@ Version = '0.0 crap'
15local options = 15local options =
16{ 16{
17 start = {help = 'Command to start the scanning process, for Sys V init.', value = 'blah'}, 17 start = {help = 'Command to start the scanning process, for Sys V init.', value = 'blah'},
18 restart = {start}, 18-- restart = {start},
19 ['force-reload'] = {start}, 19-- ['force-reload'] = {start},
20 status = {help = 'Command to check the status of the scanning process, for Sys V init.',}, 20 status = {help = 'Command to check the status of the scanning process, for Sys V init.',},
21 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.',},
22 JACK = {help = 'Command to start the JACK stuff, for users.',}, 22 JACK = {help = 'Command to start the JACK stuff, for users.',},
@@ -48,6 +48,8 @@ local options =
48 end 48 end
49 }, 49 },
50} 50}
51options['restart'] = options['start']
52options['force-reload'] = options['start']
51 53
52print("start = " .. options.start.value) 54print("start = " .. options.start.value)
53_.parse(arg, options, 'test_') 55_.parse(arg, options, 'test_')