From 22bcdbd26eff4f41c8cca0e51bfbde540101b082 Mon Sep 17 00:00:00 2001 From: Qianqian Fang Date: Sun, 3 Nov 2024 14:39:25 -0500 Subject: [PATCH] [bug] fix incorrect command line parsing due to -H flag, fix #104 --- src/mmc_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mmc_utils.c b/src/mmc_utils.c index e87fb09..4a45eea 100644 --- a/src/mmc_utils.c +++ b/src/mmc_utils.c @@ -3169,6 +3169,7 @@ void mcx_parsecmd(int argc, char* argv[], mcconfig* cfg) { case 'H': i = mcx_readarg(argc, argv, i, &(cfg->maxdetphoton), "int"); + break; case 'A': i = mcx_readarg(argc, argv, i, &(cfg->autopilot), "int");