]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/cli.py
add a function for the intial indexing run
[nominatim.git] / nominatim / cli.py
index e1824cc67fb7cfff22780e1c37bb27f3214c2034..eb652d646b93fa4894dae33f1d11ad77d54e3f84 100644 (file)
@@ -171,6 +171,8 @@ class SetupAll:
             params.append('--ignore-errors')
         if args.index_noanalyse:
             params.append('--index-noanalyse')
+        if args.threads:
+            params.extend(('--threads', args.threads))
 
         return run_legacy_script(*params, nominatim_env=args)