Skip to content
Snippets Groups Projects
Commit d477cc99 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

added missing exits

parent c1813091
No related branches found
No related tags found
No related merge requests found
Pipeline #57661 passed
...@@ -84,11 +84,13 @@ def list_files(args): ...@@ -84,11 +84,13 @@ def list_files(args):
def print_cmake_modulepath(args): def print_cmake_modulepath(args):
from .cmake import get_sfg_cmake_modulepath from .cmake import get_sfg_cmake_modulepath
print(get_sfg_cmake_modulepath(), end=os.linesep if args.newline else '') print(get_sfg_cmake_modulepath(), end=os.linesep if args.newline else '')
exit(0)
def make_cmake_find_module(args): def make_cmake_find_module(args):
from .cmake import make_find_module from .cmake import make_find_module
make_find_module() make_find_module()
exit(0)
def abort_with_config_exception(exception: SfgConfigException): def abort_with_config_exception(exception: SfgConfigException):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment