mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
add tests for new data invalidation functions
This commit is contained in:
@@ -70,7 +70,10 @@ class CommandlineParser:
|
||||
appropriate subcommand.
|
||||
"""
|
||||
args = NominatimArgs()
|
||||
self.parser.parse_args(args=kwargs.get('cli_args'), namespace=args)
|
||||
try:
|
||||
self.parser.parse_args(args=kwargs.get('cli_args'), namespace=args)
|
||||
except SystemExit:
|
||||
return 1
|
||||
|
||||
if args.subcommand is None:
|
||||
self.parser.print_help()
|
||||
|
||||
Reference in New Issue
Block a user