X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update.php;h=6850f1fb2cd528449470587c128b5de452408116;hb=dc24b520ccea0f092ea44f97352de20a796f4954;hp=9862e1ff267c18f9235ac65f2121794f8d9112cf;hpb=2191eb7aab7686df01bee88ed18068897ce2912f;p=tt-rss.git diff --git a/update.php b/update.php index 9862e1ff..6850f1fb 100755 --- a/update.php +++ b/update.php @@ -69,7 +69,7 @@ print " --daemon - start single-process update daemon\n"; print " --task N - create lockfile using this task id\n"; print " --cleanup-tags - perform tags table maintenance\n"; - print " --quiet - don't show messages\n"; + print " --quiet - don't output messages to stdout\n"; print " --log FILE - log messages to FILE\n"; print " --indexes - recreate missing schema indexes\n"; print " --convert-filters - convert type1 filters to type2\n"; @@ -85,13 +85,13 @@ return; } + define('QUIET', isset($options['quiet'])); + if (isset($options["log"])) { _debug("Logging to " . $options["log"]); define('LOGFILE', $options["log"]); } - define('QUIET', isset($options['quiet'])); - if (!isset($options["daemon"])) { $lock_filename = "update.lock"; } else {