toplev.c (read_integral_parameter): Use "argument" in error message to distinguish...
authorPhil Edwards <pme@gcc.gnu.org>
Sat, 26 Apr 2003 03:27:07 +0000 (03:27 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Sat, 26 Apr 2003 03:27:07 +0000 (03:27 +0000)
2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

* toplev.c (read_integral_parameter):  Use "argument" in error
message to distinguish it from actual invalid options.

From-SVN: r66097

gcc/ChangeLog
gcc/toplev.c

index f3d9bc6..628695b 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-25  Phil Edwards  <pme@gcc.gnu.org>
+
+       * toplev.c (read_integral_parameter):  Use "argument" in error
+       message to distinguish it from actual invalid options.
+
 2003-04-25  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
index 94720ee..f0f25db 100644 (file)
@@ -1673,7 +1673,7 @@ read_integral_parameter (p, pname, defval)
   if (*endp != 0)
     {
       if (pname != 0)
-       error ("invalid option `%s'", pname);
+       error ("invalid option argument `%s'", pname);
       return defval;
     }