>>>>> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes:
Tom> I much prefer the cp output. For one thing it is more "GNUish".
Tom> Is it difficult to fix this?
I have already tried to fix this, but with no success. I didn't look
very hard though...
Index: ChangeLog
from Akim Demaille <[EMAIL PROTECTED]>
* automake.in (&parse_arguments): Use a more GNUish error message
on wrong options.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1257
diff -u -u -r1.1257 automake.in
--- automake.in 2002/01/04 11:06:14 1.1257
+++ automake.in 2002/01/17 20:07:59
@@ -1121,7 +1121,7 @@
&set_strictness ('gnu');
use Getopt::Long;
- Getopt::Long::config ("bundling");
+ Getopt::Long::config ("bundling", "pass_through");
Getopt::Long::GetOptions
(
'version' => \&version,
@@ -1146,6 +1146,13 @@
foreach my $arg (@ARGV)
{
+ if ($arg =~ /^--/)
+ {
+ print STDERR "$0: unrecognized option `$arg'\n";
+ print STDERR "Try `$0 --help' for more information.\n";
+ exit (1);
+ }
+
# Handle $local:$input syntax. Note that we only examine the
# first ":" file to see if it is automake input; the rest are
# just taken verbatim. We still keep all the files around for