Fixed SAS file input bug.

This commit is contained in:
Patrick Lühne 2016-06-07 20:59:02 +02:00
parent eea3272c56
commit fa178d5ee1

View File

@ -70,7 +70,7 @@ int main(int argc, char **argv)
if (format == "sas") if (format == "sas")
{ {
if (inputFiles.size() > 0) if (inputFiles.size() != 1)
{ {
std::cerr << "Error: Only one input file allowed for SAS translation" << std::endl; std::cerr << "Error: Only one input file allowed for SAS translation" << std::endl;
printHelp(); printHelp();