]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/cli.py
avoid closure variables in lambda statements
[nominatim.git] / nominatim / cli.py
index 4a8fe3e446cdfbf9f74d68d5d3d7659814d190e9..88a6078284424b4dc3beacf7d45757eddc1af3bb 100644 (file)
@@ -101,7 +101,6 @@ class CommandlineParser:
             self.parser.print_help()
             return 1
 
-        args.phpcgi_path = Path(kwargs['phpcgi_path'])
         args.project_dir = Path(args.project_dir).resolve()
 
         if 'cli_args' not in kwargs:
@@ -207,6 +206,7 @@ def get_set_parser() -> CommandlineParser:
     parser.add_subcommand('admin', clicmd.AdminFuncs())
 
     parser.add_subcommand('export', clicmd.QueryExport())
+    parser.add_subcommand('convert', clicmd.ConvertDB())
     parser.add_subcommand('serve', AdminServe())
 
     parser.add_subcommand('search', clicmd.APISearch())