From: Laurent Mazet Date: Mon, 29 Jul 2024 19:12:36 +0000 (+0200) Subject: correct help message X-Git-Tag: v1.2~1 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=e178aea5e5859bd61d8dba591320eb8e428babfa;p=tetris.git correct help message --- diff --git a/tetris.c b/tetris.c index bb610fc..dcf56df 100644 --- a/tetris.c +++ b/tetris.c @@ -55,8 +55,9 @@ int usage (int ret) { FILE *fd = ret ? stderr : stdout; fprintf (fd, "usage: %s [-c] [-f file] [-h] [-s int] [-v int] [-w int]\n", progname); - fprintf (fd, " -c: time penalty (%s)", (chrono) ? "yes" : "no" ); + fprintf (fd, " -c: time penalty (%s)\n", (chrono) ? "yes" : "no" ); 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); fprintf (fd, " -v: verbose level (%d)\n", verbose); fprintf (fd, " -w: board width [%d, %d] (%d)\n", minwidth, maxwidth, width);