mirror of https://github.com/octoleo/lsyncd.git
Print version in debug and help messages
This commit is contained in:
parent
e6f3427c5f
commit
1eb8a83500
|
@ -5565,8 +5565,10 @@ end
|
|||
--
|
||||
function runner.help( )
|
||||
io.stdout:write(
|
||||
'lsyncd version: ' .. lsyncd_version ..
|
||||
[[
|
||||
|
||||
|
||||
USAGE:
|
||||
runs a config file:
|
||||
lsyncd [OPTIONS] [CONFIG-FILE]
|
||||
|
@ -5867,6 +5869,9 @@ function runner.configure( args, monitors )
|
|||
i = i + 1
|
||||
end
|
||||
|
||||
log( 'Debug', 'lsyncd version: '.. lsyncd_version .. ' starting.' )
|
||||
log( 'Debug', 'module search path: '.. package.path)
|
||||
|
||||
if clSettings.scripts then
|
||||
for _, file in ipairs(clSettings.scripts) do
|
||||
log( 'Info', 'Run addition script: ' .. file )
|
||||
|
|
Loading…
Reference in New Issue