diff options
Diffstat (limited to 'test_.lua')
-rwxr-xr-x | test_.lua | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,8 +15,8 @@ Version = '0.0 crap' | |||
15 | local options = | 15 | local 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 | } |
51 | options['restart'] = options['start'] | ||
52 | options['force-reload'] = options['start'] | ||
51 | 53 | ||
52 | print("start = " .. options.start.value) | 54 | print("start = " .. options.start.value) |
53 | _.parse(arg, options, 'test_') | 55 | _.parse(arg, options, 'test_') |