From: Akim Demaille Date: Mon, 2 Oct 2000 10:22:19 +0000 (+0000) Subject: * src/getargs.c (getargs): Don't dump `--help' on unrecognized X-Git-Tag: BISON-1_28b~99 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/c33638bb3048e7fa4283b18b7f15c0b3cf44aee4?ds=sidebyside * src/getargs.c (getargs): Don't dump `--help' on unrecognized options. --- diff --git a/ChangeLog b/ChangeLog index e36083d7..ffbb0ff3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-10-02 Akim Demaille + + * src/getargs.c (getargs): Don't dump `--help' on unrecognized + options. + + 2000-10-02 Akim Demaille * src/derives.c, src/print.c, src/reduce.c: To ease the diff --git a/NEWS b/NEWS index ebedf9c0..b2d0befb 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,8 @@ Changes in version 1.28a: * NLS support updated; should hopefully be less troublesome. * Added the old Bison reference card. + +* Added `--locations' and `%locations'. Changes in version 1.28: diff --git a/src/getargs.c b/src/getargs.c index af8e68ae..19042c60 100644 --- a/src/getargs.c +++ b/src/getargs.c @@ -214,7 +214,8 @@ getargs (int argc, char *argv[]) break; default: - usage (stderr); + fprintf (stderr, _("Try `%s --help' for more information.\n"), + program_name); exit (1); } }