correct help message
authorLaurent Mazet <mazet@softndesign.org>
Mon, 9 Sep 2024 21:17:57 +0000 (23:17 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Mon, 9 Sep 2024 21:17:57 +0000 (23:17 +0200)
snake.c

diff --git a/snake.c b/snake.c
index a4de369e7971601e3ac7aab2134aeef66319469d..3e587b40e8614a6ab2ea069d30acf1c88e91240d 100644 (file)
--- a/snake.c
+++ b/snake.c
@@ -44,7 +44,7 @@ char *help =
 int usage (int ret)
 {
     FILE *fd = ret ? stderr : stdout;
-    fprintf (fd, "usage: %s [-f file] [-h] [-s int] [-v int]\n", progname);
+    fprintf (fd, "usage: %s [-f file] [-h] [-s int] [-v int] [-w]\n", progname);
     fprintf (fd, " -f: file name (%s)\n", (filename) ? filename : "none");
     fprintf (fd, " -h: help message\n");
     fprintf (fd, " -s: scale [0..3] (%d)\n", scale);