mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
This commit is contained in:
parent
a599c0a858
commit
eef4c73bcb
2
lsyncd.c
2
lsyncd.c
@ -1273,7 +1273,7 @@ main(int argc, char *argv[])
|
||||
|
||||
/* checks if the user overrode default runner file */
|
||||
if (argp < argc && !strcmp(argv[argp], "--runner")) {
|
||||
if (argp + 1 < argc) {
|
||||
if (argp + 1 >= argc) {
|
||||
logstring("Error",
|
||||
"Lsyncd Lua-runner file missing after --runner.");
|
||||
#ifdef LSYNCD_DEFAULT_RUNNER_FILE
|
||||
|
@ -691,10 +691,10 @@ USAGE:
|
||||
|
||||
OPTIONS:
|
||||
-help Shows this
|
||||
-log [Category] Turns logging on for debug categories.
|
||||
-log all Logs everything
|
||||
-log scarce Logs errors only
|
||||
-runner FILE Loads lsyncds lua part from FILE
|
||||
-log [Category] Turns on logging for a debug category
|
||||
-runner FILE Loads lsyncds lua part from FILE
|
||||
|
||||
LICENSE:
|
||||
GPLv2 or any later version.
|
||||
|
Loading…
Reference in New Issue
Block a user