* lib-src/update-game-score.c (usage): Update usage line.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 9 Jul 2011 10:32:42 +0000 (12:32 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 9 Jul 2011 10:32:42 +0000 (12:32 +0200)
lib-src/ChangeLog
lib-src/update-game-score.c

index 098ee06..2a4c102 100644 (file)
@@ -1,3 +1,7 @@
+2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * update-game-score.c (usage): Update usage line.
+
 2011-07-02  Jason Rumney  <jasonr@gnu.org>
 
        * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
index e95e2ce..76483c3 100644 (file)
@@ -71,7 +71,7 @@ static int usage (int err) NO_RETURN;
 static int
 usage (int err)
 {
-  fprintf (stdout, "Usage: update-game-score [-m MAX ] [ -r ] game/scorefile SCORE DATA\n");
+  fprintf (stdout, "Usage: update-game-score [-m MAX] [-r] [-d DIR] game/scorefile SCORE DATA\n");
   fprintf (stdout, "       update-game-score -h\n");
   fprintf (stdout, " -h\t\tDisplay this help.\n");
   fprintf (stdout, " -m MAX\t\tLimit the maximum number of scores to MAX.\n");
@@ -113,8 +113,7 @@ static void lose_syserr (const char *msg) NO_RETURN;
 #ifndef HAVE_STRERROR
 #ifndef WINDOWSNT
 char *
-strerror (errnum)
-     int errnum;
+strerror (int errnum)
 {
   extern char *sys_errlist[];
   extern int sys_nerr;