diff --git a/src/BMatchingSolver.cpp b/src/BMatchingSolver.cpp index 9f30c02..33e30eb 100644 --- a/src/BMatchingSolver.cpp +++ b/src/BMatchingSolver.cpp @@ -158,7 +158,7 @@ int main(int argc, char ** argv) { /* getopt_long stores the option index here. */ int option_index = 0; - c = getopt_long (argc, argv, "w:d:x:n:b:t:i:o:D:Tc:v", + c = getopt_long (argc, argv, "w:d:x:n:b:t:i:o:D:Tc:vB", long_options, &option_index); /* Detect the end of the options. */ @@ -235,6 +235,9 @@ int main(int argc, char ** argv) { (n == 0)) { cout << "Invalid options. Exiting..." << endl; return -1; + } else if (binary == 1) { + cout << "Error: Binary input files are unsupported." << endl; + return -1; } SparseMatrix * solution = 0;