[Expat-checkins] CVS: expat/tests runtests.c,1.5,1.6
Fred L. Drake
fdrake@users.sourceforge.net
Sun Nov 18 06:50:32 2001
Update of /cvsroot/expat/expat/tests
In directory usw-pr-cvs1:/tmp/cvs-serv11037/tests
Modified Files:
runtests.c
Log Message:
Add a check for unknown command line options.
Index: runtests.c
===================================================================
RCS file: /cvsroot/expat/expat/tests/runtests.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** runtests.c 2001/11/16 20:19:39 1.5
--- runtests.c 2001/11/18 13:56:01 1.6
***************
*** 275,278 ****
--- 275,282 ----
forking_set = 1;
}
+ else {
+ fprintf(stderr, "runtests: unknown option '%s'\n", opt);
+ return 2;
+ }
}
if (forking_set)