* src/getargs.c (getargs): Don't dump `--help' on unrecognized

options.
This commit is contained in:
Akim Demaille
2000-10-02 10:22:19 +00:00
parent 444c570aad
commit c33638bb30
3 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2000-10-02 Akim Demaille <akim@epita.fr>
* src/getargs.c (getargs): Don't dump `--help' on unrecognized
options.
2000-10-02 Akim Demaille <akim@epita.fr> 2000-10-02 Akim Demaille <akim@epita.fr>
* src/derives.c, src/print.c, src/reduce.c: To ease the * src/derives.c, src/print.c, src/reduce.c: To ease the

2
NEWS
View File

@@ -8,6 +8,8 @@ Changes in version 1.28a:
* NLS support updated; should hopefully be less troublesome. * NLS support updated; should hopefully be less troublesome.
* Added the old Bison reference card. * Added the old Bison reference card.
* Added `--locations' and `%locations'.
Changes in version 1.28: Changes in version 1.28:

View File

@@ -214,7 +214,8 @@ getargs (int argc, char *argv[])
break; break;
default: default:
usage (stderr); fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
exit (1); exit (1);
} }
} }