Skip to content

Commit

Permalink
[bug] fix incorrect command line parsing due to -H flag, fix #104
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 3, 2024
1 parent 351b61f commit 22bcdbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mmc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 22bcdbd

Please sign in to comment.