Skip to content

Commit

Permalink
Solved options bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aboelhamd committed May 17, 2019
1 parent 0ea6892 commit 7ba3a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LangModAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ int main(int argc, char **argv) {
}
}

if (optind - argc == 6) {
if (argc - optind == 6) {
localeId = argv[optind - argc - 6];
transferFilePath = argv[optind - argc - 5];
sentenceFilePath = argv[optind - argc - 4];
Expand Down

0 comments on commit 7ba3a9b

Please sign in to comment.