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( )
|
function runner.help( )
|
||||||
io.stdout:write(
|
io.stdout:write(
|
||||||
|
'lsyncd version: ' .. lsyncd_version ..
|
||||||
[[
|
[[
|
||||||
|
|
||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
runs a config file:
|
runs a config file:
|
||||||
lsyncd [OPTIONS] [CONFIG-FILE]
|
lsyncd [OPTIONS] [CONFIG-FILE]
|
||||||
|
@ -5867,6 +5869,9 @@ function runner.configure( args, monitors )
|
||||||
i = i + 1
|
i = i + 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
log( 'Debug', 'lsyncd version: '.. lsyncd_version .. ' starting.' )
|
||||||
|
log( 'Debug', 'module search path: '.. package.path)
|
||||||
|
|
||||||
if clSettings.scripts then
|
if clSettings.scripts then
|
||||||
for _, file in ipairs(clSettings.scripts) do
|
for _, file in ipairs(clSettings.scripts) do
|
||||||
log( 'Info', 'Run addition script: ' .. file )
|
log( 'Info', 'Run addition script: ' .. file )
|
||||||
|
|
Loading…
Reference in New Issue