Before consolidated main

This commit is contained in:
Michael Hansen
2023-01-09 16:35:32 -06:00
parent 6c949aa5c5
commit dfa03d80e6
3 changed files with 7 additions and 6 deletions

View File

@@ -188,7 +188,7 @@ void parseArgs(int argc, char *argv[], RunConfig &runConfig) {
runConfig.outputPath = filesystem::path(argv[++i]);
} else if (arg == "-s" || arg == "--speaker") {
ensureArg(argc, argv, i);
runConfig.speakerId = (larynx::SpeakerId)stoi(argv[++i]);
runConfig.speakerId = (larynx::SpeakerId)stoll(argv[++i]);
} else if (arg == "-h" || arg == "--help") {
printUsage(argv);
exit(0);