Skip to content
Snippets Groups Projects
Commit 580fb5cc authored by ilor's avatar ilor
Browse files

fix wcclrun stdin corpora reading

parent 011ca5d1
No related merge requests found
......@@ -287,7 +287,7 @@ int main(int argc, char** argv)
operator_strings.push_back(f);
}
}
if (corpora_files.empty() || (operator_strings.empty() && !output_orths)) {
if ((corpora_files.empty() && !corpus_stdin) || (operator_strings.empty() && !output_orths)) {
std::cerr << "Nothing to do, try " << argv[0] << " -h\n";
return 2;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment