1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 02:11:36 +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:
James Hood
2013-03-04 14:35:18 -06:00
parent b8d47ff2a3
commit 5e401afa83
3 changed files with 21 additions and 0 deletions

View File

@@ -351,6 +351,9 @@ int UnityGetCommandLineOptions(int argc, char* argv[])
i++;
}
}
} else {
// ignore unknown parameter
i++;
}
}
return 0;