X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6c67a4b500cf08b3cfce96e74b2658deb4696c05..38369ca3cfe6e52bb6f7589c714a04294497520e:/nominatim/clicmd/args.py?ds=inline diff --git a/nominatim/clicmd/args.py b/nominatim/clicmd/args.py index bf3109ac..209ed6af 100644 --- a/nominatim/clicmd/args.py +++ b/nominatim/clicmd/args.py @@ -44,7 +44,6 @@ class NominatimArgs: # Basic environment set by root program. config: Configuration project_dir: Path - phpcgi_path: Path # Global switches version: bool @@ -73,6 +72,7 @@ class NominatimArgs: check_database: bool migrate: bool collect_os_info: bool + clean_deleted: str analyse_indexing: bool target: Optional[str] osm_id: Optional[str] @@ -87,6 +87,8 @@ class NominatimArgs: offline: bool ignore_errors: bool index_noanalyse: bool + no_superuser: bool + prepare_database: bool # Arguments to 'index' boundaries_only: bool @@ -100,9 +102,9 @@ class NominatimArgs: output_all_postcodes: bool language: Optional[str] restrict_to_country: Optional[str] - restrict_to_osm_node: Optional[int] - restrict_to_osm_way: Optional[int] - restrict_to_osm_relation: Optional[int] + + # Arguments to 'convert' + output: Path # Arguments to 'refresh' postcodes: bool @@ -147,6 +149,7 @@ class NominatimArgs: # Arguments to 'search' query: Optional[str] + amenity: Optional[str] street: Optional[str] city: Optional[str] county: Optional[str] @@ -155,7 +158,7 @@ class NominatimArgs: postalcode: Optional[str] countrycodes: Optional[str] exclude_place_ids: Optional[str] - limit: Optional[int] + limit: int viewbox: Optional[str] bounded: bool dedupe: bool