mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
mingle names from linked places into results
This commit is contained in:
@@ -251,7 +251,7 @@ class AdminServe:
|
||||
return 0
|
||||
|
||||
|
||||
def get_set_parser(**kwargs: Any) -> CommandlineParser:
|
||||
def get_set_parser() -> CommandlineParser:
|
||||
"""\
|
||||
Initializes the parser and adds various subcommands for
|
||||
nominatim cli.
|
||||
@@ -287,6 +287,4 @@ def nominatim(**kwargs: Any) -> int:
|
||||
Command-line tools for importing, updating, administrating and
|
||||
querying the Nominatim database.
|
||||
"""
|
||||
parser = get_set_parser(**kwargs)
|
||||
|
||||
return parser.run(**kwargs)
|
||||
return get_set_parser().run(**kwargs)
|
||||
|
||||
Reference in New Issue
Block a user