updating CLI for unity_fixture.h to handle unknown command line arguments (instead of entering an infinite loop)

This commit is contained in:
James Hood
2013-03-04 14:35:18 -06:00
parent b8d47ff2a3
commit 5e401afa83
3 changed files with 21 additions and 0 deletions
+3
View File
@@ -351,6 +351,9 @@ int UnityGetCommandLineOptions(int argc, char* argv[])
i++;
}
}
} else {
// ignore unknown parameter
i++;
}
}
return 0;