mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2025-01-13 08:01:08 +01:00
add {}
This commit is contained in:
parent
2206c6bb71
commit
6dcb17eff3
1 changed files with 2 additions and 1 deletions
3
star.c
3
star.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue