mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-27 10:14:28 +01:00
updating CLI for unity_fixture.h to handle unknown command line arguments (instead of entering an infinite loop)
This commit is contained in:
@@ -351,6 +351,9 @@ int UnityGetCommandLineOptions(int argc, char* argv[])
|
||||
i++;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// ignore unknown parameter
|
||||
i++;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user