From 4bf7405ed576ff8286ecb9750ce42c8cd29adea0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 Mar 2025 00:30:53 +0100 Subject: Fix some erroneous exit() commands in the new encode CLI. --- src/lib/encode_cli.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/encode_cli.cc') diff --git a/src/lib/encode_cli.cc b/src/lib/encode_cli.cc index 6038b6441..6260e9dd9 100644 --- a/src/lib/encode_cli.cc +++ b/src/lib/encode_cli.cc @@ -305,13 +305,13 @@ encode_cli(int argc, char* argv[], function out, function out, function= argc) { help(out); - exit(EXIT_FAILURE); + return {}; } if (export_format && !export_filename) { @@ -425,7 +425,7 @@ encode_cli(int argc, char* argv[], function out, functionlog(); -- cgit v1.2.3