diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-07-09 12:32:42 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-07-09 12:32:42 +0200 |
commit | ec3b5374a7e1581685becbe60b09a40f2bc446f6 (patch) | |
tree | 177a6cad7887ffabdb0b1c589c336e375453b4d9 /lib-src | |
parent | 3e0be4ab3a57c969b403afcadf987f04c7692073 (diff) | |
download | emacs-ec3b5374a7e1581685becbe60b09a40f2bc446f6.tar.gz |
* lib-src/update-game-score.c (usage): Update usage line.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/update-game-score.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 098ee06c762..2a4c1024293 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -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 diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index e95e2ce259d..76483c371ff 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c @@ -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; |