X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/995ba2c7c2dec248bfd6fb83f066d49d2428cd3e..3f73a363f42cb3cb6627ddcea371e3a22810daa6:/nominatim/cli.py?ds=sidebyside diff --git a/nominatim/cli.py b/nominatim/cli.py index 47b25c17..20a9c5f1 100644 --- a/nominatim/cli.py +++ b/nominatim/cli.py @@ -121,7 +121,7 @@ class UpdateAddData: """\ Add additional data from a file or an online source. - Data is only imported, not indexed. You need to call `nominatim-update index` + Data is only imported, not indexed. You need to call `nominatim index` to complete the process. """ @@ -148,11 +148,8 @@ class UpdateAddData: @staticmethod def run(args): if args.tiger_data: - return tiger_data.add_tiger_data(args.config.get_libpq_dsn(), - args.tiger_data, - args.threads or 1, - args.config, - args.sqllib_dir) + return tiger_data.add_tiger_data(args.tiger_data, + args.config, args.threads or 1) params = ['update.php'] if args.file: