+2002-01-21 Akim Demaille <akim@epita.fr>
+
+ * automake.in (&parse_arguments): Use a more GNUish error message
+ on wrong options.
+
2002-01-20 Tom Tromey <tromey@redhat.com>
Fix for PR automake/231:
&set_strictness ('gnu');
use Getopt::Long;
- Getopt::Long::config ("bundling");
+ Getopt::Long::config ("bundling", "pass_through");
Getopt::Long::GetOptions
(
'version' => \&version,
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