getCmdOpt($_SERVER['argv'], $aCMDOptions, $aResult, true, true);
if (!isset($aResult['index-instances'])) $aResult['index-instances'] = 1;
+
if (!isset($aResult['index-rank'])) $aResult['index-rank'] = 0;
date_default_timezone_set('Etc/UTC');
}
$sIndexCmd = CONST_BasePath.'/nominatim/nominatim.py';
+if (!$aResult['quiet']) {
+ $sIndexCmd .= ' -v';
+}
+if ($aResult['verbose']) {
+ $sIndexCmd .= ' -v';
+}
if ($aResult['init-updates']) {
// sanity check that the replication URL is correct