mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-13 14:43:09 +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 */
|
/* checks if the user overrode default runner file */
|
||||||
if (argp < argc && !strcmp(argv[argp], "--runner")) {
|
if (argp < argc && !strcmp(argv[argp], "--runner")) {
|
||||||
if (argp + 1 < argc) {
|
if (argp + 1 >= argc) {
|
||||||
logstring("Error",
|
logstring("Error",
|
||||||
"Lsyncd Lua-runner file missing after --runner.");
|
"Lsyncd Lua-runner file missing after --runner.");
|
||||||
#ifdef LSYNCD_DEFAULT_RUNNER_FILE
|
#ifdef LSYNCD_DEFAULT_RUNNER_FILE
|
||||||
|
@ -691,10 +691,10 @@ USAGE:
|
|||||||
|
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-help Shows this
|
-help Shows this
|
||||||
-log [Category] Turns logging on for debug categories.
|
|
||||||
-log all Logs everything
|
-log all Logs everything
|
||||||
-log scarce Logs errors only
|
-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:
|
LICENSE:
|
||||||
GPLv2 or any later version.
|
GPLv2 or any later version.
|
||||||
|
Loading…
Reference in New Issue
Block a user