Fixed sourcery bug when wrong argument count given
This commit is contained in:
parent
4b2392ee4b
commit
990150aaba
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
int main(int argc, char* argv[]){
|
||||
if (argc < 4) {
|
||||
std::cerr << "Usage: " << argv[0] << " <inputFile> <variableName> <outputFile>" << std::endl;
|
||||
return 1;
|
||||
}
|
||||
std::ofstream tmp(argv[3]);
|
||||
//begin the first line
|
||||
|
|
Loading…
Add table
Reference in a new issue