]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/cli.py
call freeze after running and non-updateable import
[nominatim.git] / nominatim / cli.py
index c66e78d3c306dcacaa3ddc189aa93f8f335110d8..533a920e07e5937d689be322e056167ca3135884 100644 (file)
@@ -263,7 +263,7 @@ def get_set_parser(**kwargs):
 
     parser.add_subcommand('add-data', UpdateAddData)
     parser.add_subcommand('index', clicmd.UpdateIndex)
-    parser.add_subcommand('refresh', clicmd.UpdateRefresh)
+    parser.add_subcommand('refresh', clicmd.UpdateRefresh())
 
     parser.add_subcommand('admin', clicmd.AdminFuncs)