From c33638bb3048e7fa4283b18b7f15c0b3cf44aee4 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 2 Oct 2000 10:22:19 +0000 Subject: [PATCH] * src/getargs.c (getargs): Don't dump `--help' on unrecognized options. --- ChangeLog | 6 ++++++ NEWS | 2 ++ src/getargs.c | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) 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); } } -- 2.47.2