From 6dcb17eff35581791016eb00fb763d8678e68c70 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 4 Jul 2011 10:30:56 +0200 Subject: [PATCH] add {} --- star.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/star.c b/star.c index 316f1cb..997599f 100644 --- a/star.c +++ b/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;