]> git.saurik.com Git - bison.git/commitdiff
* src/getargs.c (getargs): Don't dump `--help' on unrecognized
authorAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 10:22:19 +0000 (10:22 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 2 Oct 2000 10:22:19 +0000 (10:22 +0000)
options.

ChangeLog
NEWS
src/getargs.c

index e36083d7c20cd913599d9e26703a28a3faf34b17..ffbb0ff3411543ddfa2858a13ed6e69826b61a84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * src/derives.c, src/print.c, src/reduce.c: To ease the
diff --git a/NEWS b/NEWS
index ebedf9c09cf41efdfabe8ab4a3feda04faf05c7f..b2d0befb357f4ff6806fd74718cd7be1b6088acd 100644 (file)
--- 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'.
 \f
 Changes in version 1.28:
 
index af8e68ae5d8ea506526e3ddfee49d2cfcfa43584..19042c608418142d8a353d23cc51502a9bba6748 100644 (file)
@@ -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);
        }
     }