commit e6b6289d4f725c91b614e7e20654183e858a5658
parent c826288c488996045208730d59de2221065ba249
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 15 Jan 2021 13:51:10 +0100
Fix the parsing of the '-h' option
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test_atrstm.c b/src/test_atrstm.c
@@ -142,7 +142,7 @@ args_init(struct atrstm_args* args, int argc, char** argv)
case 'h':
print_help(argv[0]);
args_release(args);
- break;
+ goto exit;
case 'm': args->sth_filename = optarg; break;
case 'N': args->precompute_normals = 1; break;
case 'n': args->name = optarg; break;