mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 13:24:07 +00:00
correct parameter name in query CLI
This commit is contained in:
@@ -494,7 +494,7 @@ STRUCTURED_QUERY = (
|
|||||||
('county', 'county'),
|
('county', 'county'),
|
||||||
('state', 'state'),
|
('state', 'state'),
|
||||||
('country', 'country'),
|
('country', 'country'),
|
||||||
('postcalcode', 'postcode')
|
('postalcode', 'postcode')
|
||||||
)
|
)
|
||||||
|
|
||||||
EXTRADATA_PARAMS = (
|
EXTRADATA_PARAMS = (
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ def run_api_script(endpoint, project_dir, extra_env=None, phpcgi_bin=None,
|
|||||||
|
|
||||||
The function needs a project directory that contains the website
|
The function needs a project directory that contains the website
|
||||||
directory with the scripts to be executed. The scripts will be run
|
directory with the scripts to be executed. The scripts will be run
|
||||||
using php_cgi. Query parameters can be addd as named arguments.
|
using php_cgi. Query parameters can be added as named arguments.
|
||||||
|
|
||||||
Returns the exit code of the script.
|
Returns the exit code of the script.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user