summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 7101b8b87..bc7bf7af1 100644
--- a/main.c
+++ b/main.c
@@ -223,6 +223,7 @@ int main(int argc, char **argv)
output_units = SI_units;
+ subsurface_command_line_init(&argc, &argv);
parse_xml_init();
init_ui(&argc, &argv);
@@ -268,6 +269,7 @@ int main(int argc, char **argv)
exit_ui();
parse_xml_exit();
+ subsurface_command_line_exit(&argc, &argv);
#ifdef DEBUGFILE
if (debugfile)