From 8e9080d0dc363ff65dcccd988143f20498b148be Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 23 May 2024 22:18:06 +0200 Subject: [PATCH] clean --- battleships.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/battleships.c b/battleships.c index 0f91fa6..d04328f 100644 --- a/battleships.c +++ b/battleships.c @@ -39,7 +39,7 @@ int main (int argc, char *argv[]) } /* process argument */ - while (argc-- > 1) { + while (argc-- > 1) { char *arg = *(++argv); if (arg[0] != '-') { VERBOSE (ERROR, fprintf (stderr, "%s: invalid option -- %s\n", progname, arg)); -- 2.30.2