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); } }