--- ray/src/rt/rcmain.c 2023/02/06 20:34:17 2.25 +++ ray/src/rt/rcmain.c 2023/02/06 20:37:06 2.26 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rcmain.c,v 2.25 2023/02/06 20:34:17 greg Exp $"; +static const char RCSid[] = "$Id: rcmain.c,v 2.26 2023/02/06 20:37:06 greg Exp $"; #endif /* * rcmain.c - main for rtcontrib ray contribution tracer @@ -197,7 +197,7 @@ main(int argc, char *argv[]) gargc = argc; /* feature check only? */ strcat(RFeatureList, RCONTRIB_FEATURES); - if (argc == 2 && !strcmp(argv[1], "-features")) + if (argc > 1 && !strcmp(argv[1], "-features")) return feature_status(argc-2, argv+2); #if defined(_WIN32) || defined(_WIN64) _setmaxstdio(2048); /* increase file limit to maximum */