allow extra arguments

This commit is contained in:
Caolán McNamara
2010-10-19 13:01:50 +01:00
parent 2191f76884
commit a1cd5079fa

View File

@@ -48,7 +48,7 @@
#include "sal/main.h"
SAL_IMPLEMENT_MAIN() {
if (rtl_getAppCommandArgCount() != 1) {
if (rtl_getAppCommandArgCount() < 1) {
std::cerr << "Usage: cppunittester <shared-library-path>" << std::endl;
return EXIT_FAILURE;
}