X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a849f3c9ec6b5db193bdce5930ebec69b55545d4..2dafc4cf4fc46ea4be293a458d565fbff645ac28:/nominatim/clicmd/args.py diff --git a/nominatim/clicmd/args.py b/nominatim/clicmd/args.py index f5f1b98e..b120ee73 100644 --- a/nominatim/clicmd/args.py +++ b/nominatim/clicmd/args.py @@ -12,10 +12,9 @@ import argparse import logging from pathlib import Path -from typing_extensions import Protocol - from nominatim.errors import UsageError from nominatim.config import Configuration +from nominatim.typing import Protocol LOG = logging.getLogger() @@ -77,6 +76,7 @@ class NominatimArgs: warm: bool check_database: bool migrate: bool + collect_os_info: bool analyse_indexing: bool target: Optional[str] osm_id: Optional[str] @@ -115,6 +115,7 @@ class NominatimArgs: address_levels: bool functions: bool wiki_data: bool + secondary_importance: bool importance: bool website: bool diffs: bool @@ -183,6 +184,7 @@ class NominatimArgs: return dict(osm2pgsql=self.config.OSM2PGSQL_BINARY or self.osm2pgsql_path, osm2pgsql_cache=self.osm2pgsql_cache or default_cache, osm2pgsql_style=self.config.get_import_style_file(), + osm2pgsql_style_path=self.config.config_dir, threads=self.threads or default_threads, dsn=self.config.get_libpq_dsn(), flatnode_file=str(self.config.get_path('FLATNODE_FILE') or ''),