The --help option on export-lora isn't accepted as valid. The help still gets displayed by default, but the script exits with an error message and nonzero status.
if (params->n_threads <= 0) {
params->n_threads = std::thread::hardware_concurrency();
}
+ } else if (arg == "-h" || arg == "--help") {
+ export_lora_print_usage(argc, argv, &default_params);
+ exit(0);
} else {
fprintf(stderr, "error: unknown argument: '%s'\n", arg.c_str());
export_lora_print_usage(argc, argv, &default_params);