This commit is contained in:
Gwenhael Le Moine 2011-07-04 10:30:56 +02:00
parent 2206c6bb71
commit 6dcb17eff3

3
star.c
View file

@ -537,8 +537,9 @@ int parse_args( int argc, char* argv[], struct options *o, struct state *s )
if (optind < argc) {
fprintf( stderr, "Invalid arguments :\n" );
while (optind < argc)
while (optind < argc) {
fprintf( stderr, "%s\n", argv[optind++] );
}
}
return optind;