gjavah.c (main): Avoid using `argi' to report unimplemented options.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Sat, 26 Feb 2000 04:32:08 +0000 (04:32 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Sat, 26 Feb 2000 04:32:08 +0000 (04:32 +0000)
* gjavah.c (main): Avoid using `argi' to report unimplemented
options.

From-SVN: r32164

gcc/java/ChangeLog
gcc/java/gjavah.c

index 549aed49722948000e662f89015778bd73dc5b0d..182c1fab73bc857285bad0c14daf8a87afaec39a 100644 (file)
@@ -1,3 +1,8 @@
+Fri Feb 25 18:41:31 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * gjavah.c (main): Avoid using `argi' to report unimplemented
+       options.
+
 Fri Feb 25 18:47:25 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
        * jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
index 086ee5af044f4ca4493fc27f722ccbea7545609b..769eb77b3f2d354c011e77f51aa8c1215af665d2 100644 (file)
@@ -1987,7 +1987,7 @@ DEFUN(main, (argc, argv),
          break;
 
        case OPT_MG:
-         fprintf (stderr, "gcjh: `%s' option is unimplemented\n", argv[argi]);
+         fprintf (stderr, "gcjh: `-MG' option is unimplemented\n");
          exit (1);
 
        case OPT_MD: